ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rqt_graph error (Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available)

asked 2016-11-06 16:50:45 -0500

CyborgOctopus gravatar image

Hi, I am doing the 'Understanding ROS Topics' tutorial and was following these instructions specifically: http://wiki.ros.org/ROS/Tutorials/Und... . Everything worked fine until I tried to run rosrun rqt_graph rqt_graph. No graph appeared and I got a lengthy error message beginning with Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available and ending with ImportError: No module named pydot. I suspected that the problem was related to Anaconda, so I ran conda install pydot. I ran rosrun rqt_graph rqt_graph again and a graph actually appeared, but I still got this shorter error message:

Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
    import libqt_gui_cpp_sip
ImportError: /home/perrin/anaconda2/lib/python2.7/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so)

I tried running conda install pyqt but this didn't help. I'm using ROS Kinetic and Ubuntu Xenial on an x86_64, with kernel 4.4.0.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-05 22:52:16 -0500

use " conda install pydot"

edit flag offensive delete link more

Comments

UnsatisfiableError: The following specifications were found to be in conflict: - pydot -> pyparsing 1.5.6 -> python 2.6* -> openssl 1.0.1* - python 3.6*

steven gravatar image steven  ( 2017-04-14 09:50:14 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-06 16:19:19 -0500

Seen: 3,807 times

Last updated: Nov 06 '16