Ask Your Question
0

ImportError: No module named sip

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

Joelac0193 gravatar image

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

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 -0500

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 imageahendrix ( 2015-11-21 12:04:43 -0500 )edit
0

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

Anubhav Singh gravatar image

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 4,495 times

Last updated: Aug 13