[labelimg cannot be opened]

1. Error reporting

When running the labelimg program, this error is reported
AssertionError: Missing string id: useDefaultLabel

1.1 Troubleshooting errors

First, enter the created virtual environment, enter pip list to check whether labelimg is installed
Second, do not enter the virtual environment, just open anaconda, enter conda list, and check whether it is installed. labelimg,
If labelimg can be seen in the above two places, there will be a conflict when opening the program, and an error will be reported

Solution:

Enter anaconda, enter conda uninstall labelimg
Then enter the created virtual environment, enter pip uninstall labelimg and pip uninstall pyqt
After all uninstalls are completed< /span> At this time, run labelimg again to open it successfully
Re-enter the virtual environment, pip install labelimg

Guess you like

Origin blog.csdn.net/m0_64384233/article/details/134274505