首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows上运行labelImg失败

在Windows上运行labelImg失败
EN

Stack Overflow用户
提问于 2022-02-18 15:12:45
回答 2查看 1.1K关注 0票数 0

labelImg命令在我的安装中给出了以下错误,我无法找到解决问题的方法。

OS: Windows PyQt版本: PyQt5 Python版本: 3.7

代码语言:javascript
复制
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

谢谢你的帮忙

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2022-02-20 06:53:40

我刚刚跟踪了labelImg https://blog.roboflow.com/labelimg/的链接安装。

从终端安装labelImg

代码语言:javascript
复制
>pip3 install labelImg

那就跑

代码语言:javascript
复制
>labelImg
票数 0
EN

Stack Overflow用户

发布于 2022-02-19 07:14:47

我只花了两天时间来解决这个问题。我是如何解决这个问题的-- update microsoft store..

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

操作系统: Windows 11

Python : Python3.7

蟒蛇

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71175739

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档