我正在尝试在 ROS hydro 中使用 rqt,但我看到以下错误:
回溯(最后一次调用):文件“/opt/ros/hydro/bin/rqt_graph”,第 8 行,在 sys.exit(main.main(sys.argv,standalone='rqt_graph.ros_graph.RosGraph')) 文件中“/opt/ros/hydro/lib/python2.7/dist-packages/rqt_gui/main.py”,第 59 行,在 main 返回 super(Main, self).main(argv, Standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH']))) 文件“/opt/ros/hydro/lib/python2.7/dist-packages/qt_gui/main.py”,第 336 行,主要来自 python_qt_binding导入 QT_BINDING 文件“ /opt/ros/hydro/lib/python2.7/dist-packages/python_qt_binding/init在 _named_import 模块 = 内置。进口(名称)AttributeError:“模块”对象没有属性“导入”