Comments (7)
I had already resolved this error.
it caused by qt bug. https://bugreports.qt.io/browse/QTBUG-58344
Now, I installed pyqt5.7, it works fine.
- change current directory to brew repo:
cd "$(brew --repo)"
- change to homebrew-core's formula dir:
cd Library/Taps/homebrew/homebrew-core/Formula/
- reset and checkout pyqt5.rb file to pyqt 5.7 version (latest version is pyqt 5.8, it has bug.)
git reset 233b493d3b7fe4fe7e2882765507693517f9817a pyqt5.rb
git checkout pyqt5.rb
- install pyqt5.7
brew install pyqt5.rb
- reset and checkout to latest version (pyqt 5.8)
git reset HEAD pyqt5.rb
git checkout pyqt5.rb
from labelimg.
from labelimg.
I think it would be worthy to add some more input here as this is the solution to a popular question.
If you installed [email protected] and still get the old error, you probably have [email protected]. Do brew uninstall pyqt
to make sure you only have [email protected] in your system.
from labelimg.
I have not installed [email protected] before
from labelimg.
@dqhieu Did you already installed pyqt5?
from labelimg.
@aaronshan I am not very familiar with brew structure but as you can see in my comment, it seems recently when you install pyqt5, there won't be any pyqt5.rb but only pyqt.rb. And that pyqt is version 5.8.2. Did pyqt5 change the way it's installed?
from labelimg.
installing Qt5 through pip3
inside virtual environment worked just fine for me
This link was useful How can I install PyQt5 on Mac?
First Error I got
Traceback (most recent call last): File "labelImg.py", line 24, in <module> from PyQt4.QtGui import *
I uninstalled Qt5 using brew uninstall pyqt
I just use pip3 install PyQt5
Then ran
make qt5py3
python labelImg.py
Then got error
from lxml import etree ModuleNotFoundError: No module named 'lxml'
So installed pip3 install lxml
It worked Awesome!!!!!!!
from labelimg.
Related Issues (20)
- Open directory issue HOT 2
- Issue with Semi Automatic Classification Plugin in QGIS - Python error HOT 1
- Question: How to use 'best.pt' file trained from Google Colab on VScode?
- Crashing in Ubuntu 22.04 LTS HOT 1
- unexpected type 'float' HOT 4
- [suggestion] Some suggestions for improving the usability of the software [建議] 提高軟件易用性的一些建議
- Glib Critical Error After running labelimg.py
- Classes I wrote previously don't come as option after re-opening labelImg in PASCAL VOC format. How do I open/start where I left after closing labelImg ?
- Not able to labeling after openning LabelImg envirnment
- lib.resoures are not found
- labelImg crashing when scrolling (Windows, Python 3.10)
- Cannot install labellmg
- error HOT 1
- mac os m1 from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile HOT 1
- How to change the box color of every class? HOT 1
- Difficult Hotkey
- How to use labelImg again for annotation with previusly annotaed some classes.
- no module named 'libs.resources'
- How to add polygon shape instead of rectangle
- Why exit and reopen the labelimg program without any issues with the annotated information, while all the newly created annotation information is lost.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labelimg.