Open alam-haha opened 4 years ago
same here
same problem
I used pip3 install pyqt5 lxml
to solve it
If you use pipenv
for install pyqt5 lxml
:
Run: pipenv python3 labelImg.py
I used
pip3 install pyqt5 lxml
to solve it
this solved my issue, thanks.
in my case on osx Catalina the issue is solved by reinstalling python. brew reinstall python
same issue here. pip3 install pyqt5 lxml
didn't work for me. I certainly have installed the requirements yet the error No module
, weird. perhaps because I use pyenv??
edit
It was pyenv. I thought maybe this was because the library's mysterious bug but actually it was just pyenv's misconfiguration.
I had the same problem, however, I found out how to solve that. First of all, I'm using pyenv under Ubuntu 18.04. To fix my problem I just had changed the command of the requirements to:
pip3 install -r requirements/requirements-linux-python3.txt
Once I'm interested to install the requirements in my specific env, and not in the root.
I had the same issue (using Mac) and none of the shared solutions here helped me to solve this problem.
Instead I was able to solve it by doing these steps:
Installation and configuration Also note that labelImg is a cross-platform application. For example, for MacOS, the following actions are required on the command line:
Install dependencies:
1) brew install qt
,
2) brew install libxml2
3) Select the location of the folder to install.
4) When you are in the folder, run the following: git clone https://github.com/tzutalin/labelImg.git
,
5) cd labelImg
6) and then make qt5py3
7) Run labelImg: python3 labelImg.py
I hope this helps to some of you. (Source: https://dida.do/blog/the-best-labeling-tools-for-computer-vision)
sudo apt install python3-sip
What helped me (using a venv) was: pipenv run python labelImg.py
. If you dont include "run", pipenv will not recognise python to execute the script.
我曾經
pip3 install pyqt5 lxml
解決它
I successfully eliminated the error message that occurred in wrapping PyQt5 code to the executable. Thanks!
I solved it by upgrading pip and pyqt5. I used this commands: python3 -m pip install --upgrade pip python3 -m pip install --upgrade pyqt5 make qt5py3
Hope it will help.
I used
pip3 install pyqt5 lxml
to solve it
I tried "pipenv install pyqt5 lxml" and it worked for me, thank you.
The solution for me was: 1) download sip from their website: https://www.riverbankcomputing.com/software/sip/download 2) Then go to Terminal and navigate to unzipped folder and run: 'python configure.py' 3) After completed configuration run: 'make && sudo make install' 4) After SIP is installed you can check it with: 'which sip' for location and 'sip -V' for sip version I'm using macOS Monterey 12.6.3
I have tried twice to install PyQt5 5.15.0 and lxml 4.5.1 . First install was on raspbery pi 4 in Raspberry Pi OS. Second install was on macOS Catalina 10.15.15.
but both device give me same error
I have tried install 'sip' but the program still have same error