Ask Your Question

help on install ROS in a MacBook with OSX 10.6.6

asked 2011-03-15 16:21:26 -0500

paulo gravatar image

updated 2012-02-20 11:39:20 -0500

Kevin gravatar image

I am trying to install ROS in my MacBook OSX 10.6.6.

after doing the command: rosinstall ~/ros ""

that appears in "".

I got this output, can anyone give a hint how to solve this issue? ...

Bootstrapping ROS build
Detected ros_comm bootstrapping it too.
Traceback (most recent call last):
  File "/Users/paulogoncalves/ros/ros/bin/rosmake", line 60, in <module>
    from ros import rosmake
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/ros/", line 41, in <module>
    import roslib
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/roslib/", line 50, in <module>
    from roslib.launcher import load_manifest
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/roslib/", line 45, in <module>
    import roslib.manifest
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/roslib/", line 46, in <module>
    import roslib.packages
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/roslib/", line 58, in <module>
    import roslib.os_detect
  File "/Users/paulogoncalves/ros/ros/core/roslib/src/roslib/", line 49, in <module>
    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/paulogoncalves/ros/ && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1

thx, Paulo.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-15 16:56:27 -0500

kwc gravatar image

This means that the YAML module for Python was not installed. Are you sure you ran these steps:

{{{ sudo port install wget cmake python_select subversion mercurial sudo python_select python26 sudo easy_install -U pyyaml }}}

edit flag offensive delete link more


yes I have done the steps that you refer. I have done the steps again and not solved the problem. can you help further.
paulo gravatar image paulo  ( 2011-03-16 09:33:20 -0500 )edit
in the meanwhile I have written the command: sudo port install py26-yaml . it is now moving :-)
paulo gravatar image paulo  ( 2011-03-16 12:11:44 -0500 )edit
Should this command be added to the wiki instructions?
tfoote gravatar image tfoote  ( 2011-03-16 19:47:13 -0500 )edit
I've changed the instructions to use py26-yaml instead. We probably need better instructions for getting easy_install itself. My machine is too contaminated to validate proper instructions there.
kwc gravatar image kwc  ( 2011-03-16 20:12:55 -0500 )edit
I had a similar problem I think what I explained over there is pretty much what one needs to do, since I installed ROS on a fresh install of OS X.
Sudarshan gravatar image Sudarshan  ( 2011-03-17 15:19:35 -0500 )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


Asked: 2011-03-15 16:21:26 -0500

Seen: 774 times

Last updated: Mar 15 '11