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

Ros2 installation cannot import name 'QtCore' from 'PyQt5' #277

Open
FUNKIOR opened this issue Jun 23, 2023 · 0 comments
Open

Ros2 installation cannot import name 'QtCore' from 'PyQt5' #277

FUNKIOR opened this issue Jun 23, 2023 · 0 comments

Comments

@FUNKIOR
Copy link

FUNKIOR commented Jun 23, 2023

Hi i am having a problem with the installation of Ros2-Humble where the qt_gui_cpp cant import QtCore from PyQt5.
OS: Arch Linux x86_64
Host: Surface Pro 7
Kernel: 6.3.8-arch1-1-surface

ERROR:
Starting >>> qt_gui_cpp
--- stderr: qt_gui_cpp
Traceback (most recent call last):
File "/home/fcj/.cache/paru/clone/ros2-humble/src/install/share/python_qt_binding/cmake/sip_configure.py", line 9, in
from PyQt5 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt5' (/usr/lib/python3.11/site-packages/PyQt5/init.py)
make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:103: sip/qt_gui_cpp_sip/Makefile] Error 1
make[1]: *** [CMakeFiles/Makefile2:253: src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Failed <<< qt_gui_cpp [10.6s, exited with code 2]

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

1 participant