簡體   English   中英

在 Windows 上運行 labelImg 失敗

[英]Failure run labelImg on Windows

labelImg 命令在我的安裝中出現以下錯誤,我無法找到解決該問題的方法。

操作系統:Windows PyQt 版本:PyQt5 Python 版本:3.7

Traceback (most recent call last):
  File "labelImg.py", line 1649, in <module>
    sys.exit(main())
  File "labelImg.py", line 1645, in main
    app, _win = get_main_app(sys.argv)
  File "labelImg.py", line 1638, in get_main_app
    args.save_dir)
  File "labelImg.py", line 124, in __init__
    self.use_default_label_checkbox = QCheckBox(get_str('useDefaultLabel'))
  File "labelImg.py", line 87, in <lambda>
    get_str = lambda str_id: self.string_bundle.get_string(str_id)
  File "D:\Study\LV\rice_payment_support\venv\labelImg\libs\stringBundle.py", line 47, in get_string
    assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : useDefaultLabel

謝謝你的幫助

我只花了 2 天時間解決了這個問題..我解決這個問題的方法只是update microsoft store..

我知道這很瘋狂,但它的工作。

操作系統:Windows 11

Python:Python3.7

anaconda

我只是按照這個鏈接安裝 labelImg https://blog.roboflow.com/labelimg/

從終端安裝 labelImg

>pip3 install labelImg

然后運行

>labelImg

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM