Open vzeman opened 2 years ago
Update: with python 3.8 is application not crashing
I have this error with Python 3.10.4
i also have this error python 3.10
Can not reproduce this bug on Debian GNU/Linux with following software versions:
~/src/labelImg (git)-[master] % python3 --version
Python 3.10.5
~/src/labelImg (git)-[master] % dpkg -l | grep "pyqt"
ii pyqt5-dev-tools 5.15.6+dfsg-1+b2 amd64 Development tools for PyQt5
ii python3-pyqt5 5.15.6+dfsg-1+b2 amd64 Python 3 bindings for Qt5
ii python3-pyqt5.sip 12.10.1-1 amd64 runtime module for Python extensions using SIP
Same here. Ubuntu 22.04, installed with pip3.
The manual installation from the start page works.
same error on Windows, installed with pip
Same issue with me. Solution was to use python3.8 for me.
conda create -n labelImg python=3.8
pip3 install labelImg
python3 $HOME/miniconda3/envs/labelImg/bin/labelImg
i am having same problem pls someone help me to resolve it . Question 1) how can i downgrade the python version 3.10 to 3.9.?
same. Windows 10, python 3.10.5
Solution. Error in Qt5. float to int conversion Changed: x:\xxxxx\python-310\Lib\site-packages\libs\canvas.py 526 line: default: p.drawRect(left_top.x(), left_top.y(), rect_width), int(rect_height) new: p.drawRect(int(left_top.x()), int(left_top.y()), int(rect_width), int(rect_height)) 530 line: default: p.drawLine( self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height()) new: p.drawLine( int(self.prev_point.x()), 0, int(self.prev_point.x()), int(self.pixmap.height())) 531 line: default: p.drawLine( 0, self.prev_point.y(), self.pixmap.width(), self.prev_point.y()) new: p.drawLine( 0, int(self.prev_point.y()), int(self.pixmap.width()), int(self.prev_point.y())) Changed: x:\xxxxx\python-310\Lib\site-packages\labelImg\labelImg.py 965 line: default: bar.setValue(bar.value() + bar.singleStep() units) new: bar.setValue(int(bar.value() + bar.singleStep() units))
Good work.
Python 3.10
Traceback:
Error occured, when I wanted to create rectangle and moved mouse over the image - application always crash