labelImg icon indicating copy to clipboard operation
labelImg copied to clipboard

labelImg code can't support pyqt6

Open rita-carv opened this issue 3 years ago • 1 comments

Hi,

I have a M1 MacBook Pro, and due to that my computer doesn't support pyqt5, only pyqt6.

When I try to run the labelImg.py the following error appears:

Traceback (most recent call last): File "labelImg.py", line 13, in from PyQt5.QtGui import * ModuleNotFoundError: No module named 'PyQt5'

As the code of labelImg is done based on pyqt5 and pyqt4, from what I've seen, do you think there will be a new version that covers pyqt6?

rita-carv avatar May 03 '22 17:05 rita-carv

You can try branch pyside6, it works for me on MacBook Pro with M1 Max: https://github.com/tzutalin/labelImg/tree/pyside6

mbv avatar May 14 '22 12:05 mbv