cgvict / roLabelImg

Label Rotated Rect On Images for training
809 stars 221 forks source link

can't find pyqt4-dev-tools #29

Open wanghui589 opened 2 years ago

wanghui589 commented 2 years ago

the ubuntu system can't find pyqt4-dev-tools can anyone help me

antoinekeller commented 1 year ago

I had the same issue on Ubuntu 22.04

You can run:

sudo apt-get install pyqt5-dev-tools
make qt5py3
python3 roLabelImg.py

Hope it helps

Ch1cker commented 7 months ago

I had the same issue on Ubuntu 22.04

You can run:

sudo apt-get install pyqt5-dev-tools
make qt5py3
python3 roLabelImg.py

Hope it helps

a new bug: pyrcc5 -o resources.py resources.qrc running with lxml.etree libpng warning: iCCP: known incorrect sRGB profile Traceback (most recent call last): File "roLabelImg.py", line 1441, in <module> sys.exit(main(sys.argv)) File "roLabelImg.py", line 1437, in main app, _win = get_main_app(argv) File "roLabelImg.py", line 1429, in get_main_app win = MainWindow(argv[1] if len(argv) >= 2 else None, File "roLabelImg.py", line 472, in __init__ self.recentFiles = list(settings.get('recentFiles', [])) TypeError: 'NoneType' object is not iterable

karantai commented 1 month ago

@Ch1cker please create a new issue for clarity, if there is not one already.

In order to solve this issue change the line in 472 to this: self.recentFiles = list(settings.get('recentFiles') or []).

Hope this works