I am trying to run
python labelImg.py
and it gives the error message in the title
ModuleNotFoundError: No module named 'libs.resources'
What is supposed to be done? I am on MacOs Mojave and using PyQt5
@javadba I also ran into the same issue, using Mac and MyQt5, and I could fix the issue with referring to https://github.com/tzutalin/labelImg/issues/475
Thx v much for that reference. The following band-aid from that issue fixed for me:
pyrcc5 -o libs/resources.py resources.qrc
Mine still not working, this is what have been getting;
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'
am using windows 10
Thanks
have been able to solve the error on windows,
i used pypl
pip install labelImg on cmd
run labelImg
boom... it runs
I have the same issue. I am using Ubuntu and this is my trace back:
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'.
Any help will be greatly appreciated.
Tks mọi người
em đã thử nhiều cách và đã cài được
python3
download labelImg -> pip3 install lebelImg -> python labelImg.py -> bị lỗi "ModuleNotFoundError: No module named 'libs.resources'"-> pyrcc5 -o libs/resources.py resources.qrc -> python labelImg.py -> ok :D :D
Thanx @trinhthanhhoakg. It works perfectly. For my English speaking friends. It's like follows.
clone [email protected]:tzutalin/labelImg.git -> pip3 install lebelImg -> Go to cloned project folder -> python labelImg.py
If it works you are good to go.
Else you will get error
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'
Then execute "pyrcc5 -o libs/resources.py resources.qrc" OR "pyrcc5 -o libs/resources.py resources.qrc OR both."
Again try "python labelImg.py"
@78-t0b1
Thanks .... working now...
Thanx @trinhthanhhoakg. It works perfectly. For my English speaking friends. It's like follows.
- You should have python3.
- clone [email protected]:tzutalin/labelImg.git -> pip3 install lebelImg -> Go to cloned project folder -> python labelImg.py
If it works you are good to go.- Else you will get error
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'- Then execute "pyrcc5 -o libs/resources.py resources.qrc" OR "pyrcc5 -o libs/resources.py resources.qrc OR both."
- Again try "python labelImg.py"
Working fine ....thank you
i am getting this issue a lot. how can i solve this.
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'
i am using windows 10. help needed
i am getting this issue a lot. how can i solve this.
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'i am using windows 10. help needed
Do you run ?
'pyrcc5 -o libs/resources.py resources.qrc' or 'make qt5py3'
Thanks
have been able to solve the error on windows,
i used pypl
pip install labelImg on cmd
run labelImg
boom... it runs
This one worked for me.
You just run in command prompt pip install labelImg and labelImg after that. labelImg opens!
i am getting this issue a lot. how can i solve this.
Traceback (most recent call last):
File "labelImg.py", line 30, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'
i am using windows 10. help neededDo you run ?
'pyrcc5 -o libs/resources.py resources.qrc' or 'make qt5py3'
yes i run that but still it says the module not found. i tried installing pypI but it says could not find the version that statisfies the packages. what should i do?
Most helpful comment
Thx v much for that reference. The following band-aid from that issue fixed for me:
pyrcc5 -o libs/resources.py resources.qrc