Ask Your Question

Running Error for rqt in ROS2

asked 2021-03-06 04:56:56 -0500

MingshanHe gravatar image

$ rqt

Traceback (most recent call last): File "/opt/ros/foxy/bin/rqt", line 11, in <module> load_entry_point('rqt-gui==1.0.7', 'console_scripts', 'rqt')() File "/opt/ros/foxy/lib/python3.8/site-packages/rqt_gui/", line 87, in main sys.exit(Main().main()) File "/opt/ros/foxy/lib/python3.8/site-packages/rqt_gui/", line 57, in main return super( File "/opt/ros/foxy/lib/python3.8/site-packages/qt_gui/", line 410, in main from python_qt_binding import QT_BINDING File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 56, in <module> from python_qt_binding.binding_helper import loadUi # noqa: F401 File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 277, in <module> _select_qt_binding( File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 108, in _select_qt_binding QT_BINDING_VERSION = binding_loader(required_modules, optional_modules) File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 155, in _load_pyqt _named_optional_import('PyQt5.%s' % module_name) File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 142, in _named_optional_import _named_import(name) File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/", line 133, in _named_import module = builtins.__import__(name) ValueError: PyCapsule_GetPointer called with incorrect name

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-06 06:42:04 -0500

MingshanHe gravatar image

I have change the PyQt5 version to solve this problem, exactly the version is 5.10.1.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-03-06 04:55:09 -0500

Seen: 315 times

Last updated: Mar 06 '21