Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

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

Closed
newmluser opened this issue May 31, 2019 · 10 comments
Closed

Comments

@newmluser
Copy link

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
Copy link

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
Copy link
Author

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

pip install pyqt5
even than getting the same error

@ChunlinYu
Copy link

coppy resources.py to libs

@Darshan2701
Copy link

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

@newmluser
Copy link
Author

Thank you Darshan. This Fixed it.

@tzutalin
Copy link
Contributor

tzutalin commented Jun 2, 2019

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

@isalirezag
Copy link

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

@ProZoom
Copy link

ProZoom commented Oct 23, 2020

coppy resources.py to libs

where is the reources.py?

@Gussiii
Copy link

Gussiii commented Oct 27, 2020

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
Copy link

fawadta commented Dec 18, 2022

pyrcc5

Thanks. This one worked :)

phanthanhdat1902 pushed a commit to phanthanhdat1902/labelimgtool that referenced this issue Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants