Ubuntu 16.04 aarch64环境使用rqt_graph报错

Ubuntu 16.04 aarch64环境使用rqt_graph报错

文章目录

    • Ubuntu 16.04 aarch64环境使用rqt_graph报错

报错内容为:

RosPluginProvider.load(rqt_graph/RosGraph) exception raised in __builtin__.__import__(rqt_graph.ros_graph, [RosGraph]):
Traceback (most recent call last):
  File "/opt/bros/lib/python3.5/site-packages/rqt_gui/ros_plugin_provider.py", line 51, in load
    attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
  File "/opt/bros/lib/python3.5/site-packages/rqt_graph/ros_graph.py", line 9, in <module>
    from python_qt_binding.QtSvg import QSvgGenerator
    

ImportError: No module named 'python_qt_binding.QtSvg'

被这问题困扰了两天,刚开始以为是环境变量的问题,也在网上找了很多可能解决问题的“解决方案”意义尝试,最后才发现原来是缺少了依赖:python3-pyqt5.qtsvg。(无语中…)

扩展说明:

rqt需要安装的依赖有

pyqt5-dev
python3-pyqt5
python3-pyqt5.qtsvg

# 自动安装
python3-sip
python3-sip-dev
sip-dev
python3-pydot

-dev
sip-dev
python3-pydot


你可能感兴趣的:(Ubuntu,python,ubuntu,linux)