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

rosserial_python on Pandaboard - Fuerte

asked 2012-05-01 04:28:04 -0600

Hansg91 gravatar image

updated 2014-01-28 17:12:10 -0600

ngrennan gravatar image


I was trying to get rosserial_python to work on my Pandaboard (Ubuntu Oneiric server edition), which has ros Fuerte installed on it, but it seems to miss some kind of module. Here is the error I am getting:

  File "/home/panda/ros/rosserial/rosserial_python/nodes/", line 40, in <module>
    from rosserial_python import SerialClient
  File "/home/panda/ros/rosserial/rosserial_python/src/rosserial_python/", line 1, in <module>
    from SerialClient import *
  File "/home/panda/ros/rosserial/rosserial_python/src/rosserial_python/", line 42, in <module>
    from serial import *
ImportError: No module named serial

I'm sure it is an easy error, but I couldn't find the solution.

Any idea what I'm missing? Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-01 05:43:06 -0600

You need the pySerial package. You can install it by running the following command:

sudo apt-get install python-serial

A good way to install system dependencies for ROS packages is the rosdep command. To see how to install rosdep take a look at You can then run something like:

rosdep install rosserial

Unfortunately, rosserial_python does not list python-serial as a dependency, so the second option won't work right now. I'll report this bug to the developers shortly.

edit flag offensive delete link more


Ah I guess I was missing that one, thanks again :) I did indeed try rosdep install but it claimed all dependencies were met.

Hansg91 gravatar image Hansg91  ( 2012-05-01 06:55:40 -0600 )edit

Yeah, it was unlucky the dependency was not listed. This bug has been reported:

piyushk gravatar image piyushk  ( 2012-05-01 09:48:08 -0600 )edit

I have a similar issue on my raspberry pi with debian squeeze / ros fuerte.

$ rosdep install -a --os=debian:squeeze
#All required rosdeps installed successfully
$ rosdep install rosserial --os=debian:squeeze

ERROR: Rosdep cannot find all required resources to answer your q
ulrichard gravatar image ulrichard  ( 2012-07-06 10:01:58 -0600 )edit

Question Tools

1 follower


Asked: 2012-05-01 04:28:04 -0600

Seen: 1,201 times

Last updated: May 01 '12