Labelimg: No module named 'libs.resources'

Created on 23 Jun 2020  路  3Comments  路  Source: tzutalin/labelImg

Trying to install labelImg to start labeling images in order to train an ML algorithm for detection. I did the following like the Git page suggested (just further up in cmd).

conda install pyqt=5

This caused me no problems and then I go to try and run it and it says this. What am I doing wrong. How can I fix this?

LabelImg Help

Most helpful comment

You need to create lib/resources. Depending on your os, something similar to this would do that:

pyrcc5 -o libs/resources.py resources.qrc

All 3 comments

Hello, so I just had this issue too. I got the program to launch by removing libs from the code entirely.

(base) C:Users\jessi\Documents\PySURGE\labelImg-master>pyrcc5 -o resources.py resources.qrc

You need to create lib/resources. Depending on your os, something similar to this would do that:

pyrcc5 -o libs/resources.py resources.qrc

You need to create lib/resources. Depending on your os, something similar to this would do that:

pyrcc5 -o libs/resources.py resources.qrc

Hi @amaleki2, this work for me.
pyrcc5 -o libs/resources.py resources.qrc

Was this page helpful?
0 / 5 - 0 ratings