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

Revision history [back]

click to hide/show revision 1
initial version

You need to call:

source /opt/ros/electric/setup.sh

either manually or in your .bashrc

You need to call:

source /opt/ros/electric/setup.sh

either manually or in your .bashrc.bashrc.

Check whether /opt/ros/electric/ros/core/roslib/src exists, and if not, run

sudo aptitude reinstall ros-electric-ros

You need to call:

source /opt/ros/electric/setup.sh

either manually or in your .bashrc.

Check whether /opt/ros/electric/ros/core/roslib/src exists, and if not, run

sudo aptitude reinstall ros-electric-ros

EDIT: As Lorenz said, you should not use sudo. You should never ever ever use sudo, unless a tutorial tells you to.

So your only problem is:

import cv_bridge
ImportError: No module named cv_bridge

To import cv_bridge, cv_bridge must be listed in irobot_mudd/manifest.xml as

<depend package="cv_bridge"/>

Only then does roslib.load_manifest('irobot_mudd') put cv_bridge into the python path.