-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
partially initialized module 'PyQt5' has no attribute 'QtCore' #2414
Comments
Use zip_include_packages: |
I cloned the repo and built the pyqt5 example using python3 setup,py build. I then ran the test_pqt5 it gives me the same partially initialized error. The PyQT i am using is the default PyQT5 installed at the system level in ubuntu 22.
Could this be what is causing the conflict or issue? I am running ubuntu 22 on a orange pi sbc board. The pyqt app opens normally if i do python3 test_pyqt5.py. Edit 1 |
I have to use the system PyQt5 package because, on my sbc, the PyQT5 package cannot be installed through pip. It needs to be built from source. Is it feasible to make cx_freeze use the system pip package? if so can you tell me the steps, else i assume I will have to try with a source build which currently doesnt seem feasible. |
The program 'main_qthread_docker.py' runs in Python?
So the sample did not work with system python. This works w/ pyqt5 from pypi. |
I am trying to package a PyQt5 application with ROS dependencies. Below is my setup file -
It builds successfully. When I run the executable it fails with
Which means it has not properly inported the PyQt5 dependency, what am I doing wrong here? Thank you for your help in advance!
The text was updated successfully, but these errors were encountered: