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

rosdep error while I try to install ROS on OS X 10.8

asked 2014-04-15 00:08:58 -0500

karthik_ms gravatar image

updated 2014-04-15 05:24:32 -0500

demmeln gravatar image

Hello, I am trying to install ROS Hydro on OS X 10.8. I am strictly following the tutorial to install ROS through homebrew. I am on xcode 5.0.2 now. I am working behind a proxy. After I tap the formulae, I setup the environment with the following commands.

export PATH=/usr/local/bin:$PATH
$ source ~/.bash_profile

$ mkdir -p ~/Library/Python/2.7/lib/python/site-packages
$ echo "$(brew --prefix)/lib/python2.7/site-packages" >> ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth

Installed pip and successfully ran the following as well :

sudo pip install -U wstool rosdep rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx

Successfully initialized rosdep, created the workspace and populated it with packages with the following :

$ rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only --tar > hydro-desktop-full-wet.rosinstall
$ wstool init -j8 src hydro-desktop-full-wet.rosinstall

Everything went fine till here as far as i know.

Next when I need execute this :

$ rosdep install --from-paths src --ignore-src --rosdistro hydro -y

I get the following error :

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
smach_ros: No definition of [python-mock] for OS [osx]
rospack: No definition of [python-coverage] for OS [osx]
roslisp: No definition of [python-coverage] for OS [osx]
rosgraph: No definition of [python-mock] for OS [osx]

I am not really sure on how to handle this. Please help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-15 05:46:52 -0500

demmeln gravatar image

Recent updates seem to have added those dependecies, but their rosdep definition was not added yet for OS X. I filed a pull request

In the meantime, you can work around this by manually installing the dependecies and telling rosdep to ignore them:

sudo pip install -U python-mock python-coverage
rosdep install -s --from-paths src --ignore-src --rosdistro hydro -y --skip-keys "python-mock python-coverage"
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-15 00:08:58 -0500

Seen: 1,294 times

Last updated: Apr 15 '14