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

ROS install Yaml error on OSX

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

taha016 gravatar image

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

kwc gravatar image

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

rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"

ERROR:

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/pkg_resources.py", 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/pkg_resources.py", 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/subprocess.py", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /Users/ic/ros/setup.sh && 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?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

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

tfoote gravatar image

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

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
0

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

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

Stats

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

Seen: 1,171 times

Last updated: Mar 17 '11