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

ROS install Yaml error on OSX

asked 2011-03-16 05:49:34 -0500

taha016 gravatar image

updated 2011-03-17 03:57:47 -0500

kwc gravatar image

Ive been trying to install ROS and have been given this error at the end of running:

rosinstall ~/ros ""


import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "/usr/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/", line 442, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/", line 1167, in run_script
    exec script_code in namespace, namespace
  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 556, in <module>

  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 547, in rosinstall_main

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /Users/ic/ros/ && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1

I already run the sudo easy_install -U pyyaml command and that seemed fine but i still end up with this error any ideas?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-03-16 06:13:31 -0500

tfoote gravatar image

updated 2011-03-16 15:31:57 -0500

Make sure you have pyyaml installed against your active version of python.

There was a thread on ros-users here which is similar.

I believe that you might need to make sure you're using the right version of easy_install as mentioned here

edit flag offensive delete link more

answered 2011-03-17 02:11:59 -0500

taha016 gravatar image

Thanks for your reply.. i managed to solve the yaml issue, your link were very helpful

Thanks again

edit flag offensive delete link more

Question Tools


Asked: 2011-03-16 05:49:34 -0500

Seen: 1,132 times

Last updated: Mar 17 '11