ros-visualization / qt_gui_core

BSD 3-Clause "New" or "Revised" License
37 stars 77 forks source link

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

Open FUNKIOR opened 1 year ago

FUNKIOR commented 1 year ago

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]