0

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

谢谢你的帮助

4

2 回答 2

0

我只是按照这个链接安装 labelImg https://blog.roboflow.com/labelimg/

从终端安装 labelImg

>pip3 install labelImg

然后运行

>labelImg
于 2022-02-20T06:53:40.567 回答
0

我只花了 2 天时间来解决这个问题.. 以及我如何解决这个问题update microsoft store..

我知道那很疯狂,但它的工作。

操作系统:Windows 11

蟒蛇:Python3.7

蟒蛇

于 2022-02-19T07:14:47.387 回答