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

ImportError: No module named sip

asked 2015-11-06 18:13:46 -0600

Joelac0193 gravatar image

updated 2015-11-07 06:37:06 -0600

gvdhoorn gravatar image

It was working a few months ago and I have not touched ROS since. I am using ROS electric and Ubuntu 10.04, and I am following the tutorials on how to make ROS work with Legos NXT. When I type roslaunch robot.launch I get the error:

respawning...
[nxt_ros-2] restarting process
process[nxt_ros-2]: started with pid [6573]
Traceback (most recent call last):
  File "/opt/ros/electric/stacks/nxt/nxt_ros/scripts/nxt_ros.py", line 49, in <module>
    from PyKDL import Rotation
ImportError: No module named sip
[nxt_ros-2] process has died [pid 6573, exit code 1].
log files: /home/joel/.ros/log/19cd638e-84de-11e5-a689-0026b9c3b537/nxt_ros-2*.log

I do not now what is causing this problem and am not too knowledgeable with ROS or Linux. Any help will be greatly appreciated, thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-11-21 11:02:50 -0600

SReuter gravatar image

You need to install python-sip: http://pyqt.sourceforge.net/Docs/sip4...

edit flag offensive delete link more

Comments

1

Try sudo apt-get install python-sip to install Ubuntu's version, before following the source installation instructions.

ahendrix gravatar image ahendrix  ( 2015-11-21 12:04:43 -0600 )edit
0

answered 2019-08-13 16:26:24 -0600

The link in the above answer is expired. You can follow steps given here to install sip from source if sudo apt-get install python-sip doesn't work.

edit flag offensive delete link more

Comments

The provided link is expired as well.

joao.aguizo gravatar image joao.aguizo  ( 2022-02-22 05:14:53 -0600 )edit

Question Tools

Stats

Asked: 2015-11-06 18:13:46 -0600

Seen: 8,038 times

Last updated: Aug 13 '19