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

rosrun fails on Qt binding

asked 2014-04-18 13:18:29 -0600

Timw gravatar image

I am working my way through the tutorials and cannot use anything related to rosrun. I am running 64-bit Ubuntu and I just installed hydro (installed hydro-full).

When I run "rosrun rqt_graph rqt_graph" I get an error with the following final statements:

ImportError: Could not find Qt binding (looked for: 'pyqt', 'pyside'): ImportError for 'pyqt': No module named sip ImportError for 'pyside': No module named QtCore

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-04-23 17:44:03 -0600

Timw gravatar image

Alright, turns out I was sourcing too many things in my .bashrc, which was screwing up my python path.

edit flag offensive delete link more
-1

answered 2015-03-10 03:10:09 -0600

Juan gravatar image

I get a similar error:

I have Linux Ubuntu 14.04 and ROS Indigo. I have qt, PyQt and PySide and I get a similar error: ```

$ rosrun rqt_gui rqt_gui --qt-binding=pyside Traceback (most recent call last): File "/opt/ros/indigo/lib/rqt_gui/rqt_gui", line 13, in <module> sys.exit(main.main()) File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_gui/main.py", line 59, in main return super(Main, self).main(argv, standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH']))) File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_gui/main.py", line 336, in main from python_qt_binding import QT_BINDING File "/opt/ros/indigo/lib/python2.7/dist-packages/python_qt_binding/__init__.py", line 55, in <module> from .binding_helper import loadUi, QT_BINDING, QT_BINDING_MODULES, QT_BINDING_VERSION # @UnusedImport File "/opt/ros/indigo/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 262, in <module> getattr(sys, 'SELECT_QT_BINDING_ORDER', None), File "/opt/ros/indigo/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 90, in _select_qt_binding raise ImportError("Could not find Qt binding (looked for: %s):\n%s" % (', '.join(["'%s'" % b for b in binding_order]), '\n'.join(error_msgs))) ImportError: Could not find Qt binding (looked for: 'pyside'): ImportError for 'pyside': /usr/lib/python2.7/dist-packages/PySide/QtCore.so: undefined symbol: _ZNK7QObject17senderSignalIndexEv ```

My guess is that the python path may have a problem. But I am not sure how to solve this...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-04-18 13:18:29 -0600

Seen: 858 times

Last updated: Mar 10 '15