HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.51k stars 6.27k forks source link

Issue installing in windows10/Python 3.7/ No module named 'libs.resources' #475

Closed newmluser closed 5 years ago

newmluser commented 5 years ago

Steps done: pip install PyQt5 Requirement already satisfied: PyQt5 in xxx\lib\site-packages (5.12.2) Requirement already satisfied: PyQt5_sip<13,>=4.19.14 in xxx\lib\site-packages (from PyQt5) (4.19.17)

pyrcc5 -o resources.py resources.qrc

python labelImg.py Traceback (most recent call last): File "labelImg.py", line 29, in from libs.resources import * ModuleNotFoundError: No module named 'libs.resources'

I have seen multiple links and followed the steps. still I am getting the same issue. I am using anaconda/Python

Chetchaiyan commented 5 years ago

I found same error, and solved by install qt5 as follow

sudo apt-get install pyqt5-dev-tools
sudo pip3 install -r requirements/requirements-linux-python3.txt
make qt5py3
newmluser commented 5 years ago

Can you please help me with windows command because I did execute

pip install pyqt5 even than getting the same error

ChunlinYu commented 5 years ago

coppy resources.py to libs

Darshan2701 commented 5 years ago

Please try this command from labelImg directory pyrcc5 -o libs/resources.py resources.qrc

newmluser commented 5 years ago

Thank you Darshan. This Fixed it.

tzutalin commented 5 years ago

If you download the latest code on windows, u got to run pyrcc5 -o libs/resources.py

isalirezag commented 4 years ago

im using ubuntu 16.04 I still see the : pyrcc5 -o libs/resources.py resources.qrc any suggestion? image

ProZoom commented 3 years ago

coppy resources.py to libs

where is the reources.py?

Gussiii commented 3 years ago

coppy resources.py to libs

where is the reources.py?

Its created when you run the "pyrcc5 -o libs/resources.py resources.qrc"

I had trouble making it work as its in the READ.ME

try doing it with the complear path.

C:\Python35\Scripts\pyrcc5 -o C:\Desktop\labelImg\libs\resources.py

https://stackoverflow.com/questions/58140305/labelimg-pyrcc5-is-not-recognized-as-an-internal-or-external-command

fawadta commented 1 year ago

pyrcc5

Thanks. This one worked :)