Closed ManojPabani closed 7 years ago
Have you installed pyqt4-dev-tools?
Add your pyqt4 path to your system PATH.
How to add to system PATH ?
@Abby263 @ManojPabani
I tested with PyQt5.
Just download it and add to system path "[path to anaconda]\Anaconda3\Library\bin". (check if exists a file named pyrcc5.exe on this folder. If not, then there is something wrong)
Then execute:
Open cmd and go to labelImg directory
pyrcc5 -o resources.py resources.qrc
python labelImg.py
Done!
Tested on Anaconda3, PyQt5, Win10 x64
use the command:
pyrcc4 -py3 -o resources.py resources.qrc
this solved the issue for me on windows using PyQt4 and python 3.6. Apparently, if you are using puthon3, we have to use the flag "-py3"
Riverbank does not support qt4.. where can i get the pyqt4-dev-tools(for pyrcc4) ?
Win8.1, 64bit, Python 3.7.4, PyQt5
My solution was:
pyrcc5 -o resources.py resources.qrc
And, in the labelimg.py
file, change line:
from libs.resources import *
to:
from resources import *
Im using PySide2 and Python 3.6.5 on Win 10. After searching my files in my python installation I found that the pyrcc4/5 file was not present but has been replaced. Here's the command I used to get the same result.
pyside2-rcc -py3 -o ip2img.py ip2img.qrc
Hi,I am trying install LabelImg from source,I have installed PyQt4 and lxml now when runing this command:
pyrcc4 -o resources.py resources.qrc
getting this error: