Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't find pyqt4-dev-tools #29

Open
wanghui589 opened this issue Jul 23, 2022 · 3 comments
Open

can't find pyqt4-dev-tools #29

wanghui589 opened this issue Jul 23, 2022 · 3 comments

Comments

@wanghui589
Copy link

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

@antoinekeller
Copy link

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
Copy link

Ch1cker commented Jan 23, 2024

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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants