Ask Your Question
3

rosdep: command not found

asked 2012-04-28 02:52:06 -0600

Vittorio88 gravatar image

updated 2012-04-28 04:11:36 -0600

joq gravatar image

Hello, I am trying to install RGBDSLAM on Ubuntu 11.10

I installed Ros Fuerte because Octomap viz isn't available as a package for Ros Electric.

One of the steps it asks for is to resolve dependencies using rosdep. However, whenever I issue rosdep I get "command not found".

Most other commands work perfectly. Here is the output from a ros[tab][tab]

~/ros_workspace/fuerte$ ros

*rosawesome      rosed           rosmsg          rosstack
rosbag          rosgraph        rosmsg-proto    rostest
rosboost-cfg    rosinstall      rosnode         rostopic
rosclean        roslaunch-deps  rosparam        rosversion
rosco           roslaunch-logs  rospd           rosws
roscore         roslocate       rospython       roswtf
roscp           rosls           rosrun          
roscreate-pkg   rosmake         rosservice      
rosd            rosmaster       rossrv*

I have messed around with environment variables to the point that I believe that is not the issue. Here goes an env | grep ROS

*ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/home/vittorio/ros_workspace/fuerte:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_WORKSPACE=/home/vittorio/ros_workspace/fuerte
ROS_PARALLEL_JOBS=-j4
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros*

Here goes a echo $PATH and echo $PYTHONPATH

echo $PATH
*/opt/ros/fuerte/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games*

echo $PYTHONPATH
*/opt/ros/fuerte/lib/python2.7/dist-packages:*

I am curious as to why there is a colon at the end of dist-packages. There is one colon at the end of the statement in /opt/ros/fuerte/setup.sh , but I believe that one should disappear when the environment variable gets passed.

Any other ideas as to why rosdep doesn't work in fuerte?

P.S. I can switch my environment back to electric, and rosdep works.

edit retag flag offensive close merge delete

6 Answers

Sort by ยป oldest newest most voted
6

answered 2012-04-28 04:05:48 -0600

joq gravatar image

updated 2012-08-30 17:11:56 -0600

Fuerte introduces a new rosdep implementation, which must be installed via pip, separately from the ROS distribution.

sudo apt-get install python-pip
sudo pip install -U rosdep
sudo rosdep init
rosdep update

See: REP-0125.

UPDATE: people building ROS packages from source may want to install these Python packages, too:

sudo pip install -U rosinstall vcstools rospkg

UPDATE2: instead of using pip, the recommended install method on Ubuntu is now:

sudo apt-get install python-rosdep

The init and update steps are still necessary.

edit flag offensive delete link more

Comments

Thank you very much!! That did the trick. Is there any other standard ROS programs from electric that you are aware of that also require an installation from pip? Rosdep should be installed with the standard apt-get install ros-fuerte-desktop-full.BTW does that car from Austinrobot.com also run ROS?

Vittorio88 gravatar imageVittorio88 ( 2012-04-30 23:21:18 -0600 )edit

Yes, our autonomous vehicle now runs ROS.

joq gravatar imagejoq ( 2012-05-01 02:12:29 -0600 )edit
0

answered 2012-05-09 00:59:27 -0600

kleinash gravatar image

Hi, I did just what you said.. and here is the result:

sudo pip install -U rosinstall vcstools rospkg Downloading/unpacking rosinstall Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement rosinstall No distributions at all found for rosinstall

I am a noob so will see what else I could possibly be doing wrong

edit flag offensive delete link more
0

answered 2012-05-09 01:04:49 -0600

kleinash gravatar image

/opt/ros/fuerte/stacks$ sudo easy_install -U rosinstall vcstools rospkg rosdep Searching for rosinstall Reading http://pypi.python.org/simple/rosinstall/ Download error on http://pypi.python.org/simple/rosinstall/: [Errno 101] Network is unreachable -- Some packages may not be found! Reading http://pypi.python.org/simple/rosinstall/ Download error on http://pypi.python.org/simple/rosinstall/: [Errno 101] Network is unreachable -- Some packages may not be found! Couldn't find index page for 'rosinstall' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Download error on http://pypi.python.org/simple/: [Errno 101] Network is unreachable -- Some packages may not be found! No local packages or download links found for rosinstall error: Could not find suitable distribution for Requirement.parse('rosinstall')

aaaaah!

edit flag offensive delete link more
0

answered 2012-09-07 15:48:44 -0600

may be you can try ubuntu software center, select ROS precise (if you have followed the instruction to instruction) then search rosdep, you will find Rosdep system dependency installation tool, install this one run the command 'sudo rosdep init' and 'rosdep update', then it will work

edit flag offensive delete link more
0

answered 2012-05-19 11:37:58 -0600

sudo easy_install -U rosinstall vcstools rosdep

edit flag offensive delete link more
0

answered 2012-05-27 18:58:10 -0600

I have ubuntu 12.04 and fuerte... when a type the command:

sudo pip install -U rosdep

I have the response: Downloading/unpacking rosdep Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement rosdep No distributions at all found for rosdep

When I try:

sudo easy_install -U rosinstall vcstools rosdep

gives me the response:

Searching for rosinstall Reading http://pypi.python.org/simple/rosinstall/ Download error on http://pypi.python.org/simple/rosinstall/: [Errno 101] Network is unreachable -- Some packages may not be found! Reading http://pypi.python.org/simple/rosinstall/ Download error on http://pypi.python.org/simple/rosinstall/: [Errno 101] Network is unreachable -- Some packages may not be found! Couldn't find index page for 'rosinstall' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Download error on http://pypi.python.org/simple/: [Errno 101] Network is unreachable -- Some packages may not be found! No local packages or download links found for rosinstall error: Could not find suitable distribution for Requirement.parse('rosinstall')

Any help? thanks...

edit flag offensive delete link more

Comments

1

My problem was proxy... try this: sudo pip install rosdep --proxy=http://user:passwd@address:port

Felipe Guth gravatar imageFelipe Guth ( 2012-05-28 07:37:21 -0600 )edit

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: 2012-04-28 02:52:06 -0600

Seen: 18,451 times

Last updated: Sep 07 '12