Install labelImg

yao2306 注册会员
2023-02-27 20:18

This answer quotes ChatGPT

Based on the error message you provided, it appears that you are missing the PyQt4 module, causing labelImg to not open.

It is recommended that you try to reinstall PyQt4. You can install PyQt4 in Anaconda by running the following command:

conda install pyqt=4

If problems occur during installation, you can also try installing PyQt4 using pip, with the following command:

pip install PyQt4

If you have an older version of Anaconda, you may want to update conda:

before installing it.
conda update conda

If the above methods do not solve the problem, you can consider uninstalling and reinstalling labelImg, or you can try using another version of labelImg.