(2) source /opt/ros/foxy/setup.bash
ros2 run rqt_image_view rqt_image_view
发生报错:
Traceback (most recent call last):
File "/opt/ros/foxy/lib/rqt_image_view/rqt_image_view", line 13, in <module>
sys.exit(main.main(
File "/opt/ros/foxy/lib/python3.8/site-packages/rqt_gui/main.py", line 57, in main
return super(
File "/opt/ros/foxy/lib/python3.8/site-packages/qt_gui/main.py", line 410, in main
from python_qt_binding import QT_BINDING
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/__init__.py", 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/binding_helper.py", line 277, in <module>
_select_qt_binding(
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 118, in _select_qt_binding
raise ImportError(
ImportError: Could not find Qt binding (looked for: 'pyqt', 'pyside'):
ImportError for 'pyqt': /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", 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/binding_helper.py", line 153, in _load_pyqt
_named_import('PyQt5.%s' % module_name)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
ImportError for 'pyside': /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", 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/binding_helper.py", line 185, in _load_pyside
_named_import('PySide2.%s' % module_name)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5