-
Notifications
You must be signed in to change notification settings - Fork 6.2k
labelImg command error: AssertionError: Missing string id : useDefaultLabel #404
Comments
Did you forget to |
I am having the same issue. |
I cant make. and then it works. |
I am having the issue as well |
I am having the issue as well |
I was having the same issue on WIndows 10 + Anaconda platform with python 3.6. but as @zh7117 suggested |
i had tried it, we must cd into the LabelImg file and input the command "pyrcc5 -o resources.py resources.qrc" |
There are new changes related to the resource. In general, it has to compile the resource again. |
as @wuqingshan2010 action, I fixed it, thanks! |
how to solve |
After tried all methods above (didn't work), I found out the solution. cd into the LabelImg file and input the command: make all then: python labelimg.py |
In Windows + Anaconda installations, I am getting the same error. $>python labelImg.py
|
I faced same issue and solving it like this: 1- typing in cmd:
2- Change the location of resources.qrc and resource files to libs folder.3- typing in cmd:
I hope this help to all. |
I am facing the same problem even after following the above solution!!!
|
Same here - I have tried everything above and I'm still facing the error. For reference, I'm running on the conda environment on Windows. Here's my error to be specific: Traceback (most recent call last): |
Hello all, If above solutions did not work, try installing this version instead :
Fyi, I'm using macOS |
conda create a virtual env, then pip install labelimg then labelimg finally it worked. |
Thanks man after several ours it worked finally |
Here is the solution worked for me : |
Thanks a lot man! 💯 It worked but i still can't figure out why would it throw an error when the already existing virtual env i created had all the required files. |
Thank you. I'm using Windows but this solution works for me. I just changed
this part. Instead of,
|
labelImg command gives me the following error on my installation and I am unable to figure out a fix for the problem:
Traceback (most recent call last): File "/usr/local/bin/labelImg", line 11, in <module> sys.exit(main()) File "/home/shubham/.local/lib/python3.6/site-packages/labelImg/labelImg.py", line 1473, in main app, _win = get_main_app(sys.argv) File "/home/shubham/.local/lib/python3.6/site-packages/labelImg/labelImg.py", line 1466, in get_main_app argv[3] if len(argv) >= 4 else None) File "/home/shubham/.local/lib/python3.6/site-packages/labelImg/labelImg.py", line 130, in __init__ self.useDefaultLabelCheckbox = QCheckBox(getStr('useDefaultLabel')) File "/home/shubham/.local/lib/python3.6/site-packages/labelImg/labelImg.py", line 95, in <lambda> getStr = lambda strId: self.stringBundle.getString(strId) File "/home/shubham/.local/lib/python3.6/site-packages/libs/stringBundle.py", line 36, in getString assert(stringId in self.idToMessage), "Missing string id : " + stringId AssertionError: Missing string id : useDefaultLabel
The text was updated successfully, but these errors were encountered: