You might need to specify your python version:<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>sudo port install python_select</div></blockquote><div>

<br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>sudo port select --set python python26</div></blockquote><div><br></div><div>Additionally, you want to make sure you're using the macports python...</div>

<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>export PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:$PATH</div><div>sudo easy_install pip</div>

<div>sudo pip install rosinstall</div><div>rosinstall ....</div></blockquote><div><br></div>That export PATH... command will ensure that you are using binaries installed for the macports python.  You can either set it once in the command line to install/run rosinstall or you can put it in your .bashrc, but either way you should be aware that it effecting what python executables are being used.<div>

<br></div><div>Hope that helps,<br><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>

<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><div><a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><br>
<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 9:01 AM, Serge Stinckwich <span dir="ltr"><<a href="mailto:serge.stinckwich@gmail.com">serge.stinckwich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I try to do run rosinstall on my mac book pro:<div><br></div><div><div>delirium-tremens:~ serge$ rosinstall ~/ros/ "<a href="http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no" target="_blank">http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no</a>"</div>



<div><br></div><div>Traceback (most recent call last):</div><div>  File "/usr/local/bin/rosinstall", line 5, in <module></div><div>    pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')</div>



<div>  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 442, in run_script</div><div>    self.require(requires)[0].run_script(script_name, ns)</div><div>  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1167, in run_script</div>



<div>    exec script_code in namespace, namespace</div><div>  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 23, in <module></div><div>    </div><div>



ImportError: No module named yaml</div><div><br></div><div>=========================================</div><div><br></div><div>I guess because rosintall do not use the right Python path.</div><div>How did you install rosinstall ?</div>



<div><br></div><div>Regards,</div><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Jun 19, 2011 at 6:00 AM, William Woodall <span dir="ltr"><<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">

My friends, John and Michael, and I have compiled a guide/troubleshooting list for getting RViz (and other tools) working on OS X with the latest diamondback from SVN.  I don't think there is any new information here, but rather a survey of the common problems encountered.  The main idea is making ROS build as 32-bit only and using +universal macports everywhere, this comes from Dave's comment on this ticket: <a href="https://code.ros.org/trac/ros-pkg/ticket/4788#comment:8" target="_blank">https://code.ros.org/trac/ros-pkg/ticket/4788#comment:8</a> <div>





<br></div><div><img alt="RViz-on-OSX.png" title="RViz-on-OSX.png" width="420" height="262"><br></div><div><br></div><div>Additionally there are other patches and tricks listed in the troubleshooting sections, all of which are ticketed and/or fixed in later SVN revisions, so hopefully this guide won't even be necessary in the near future, but for now I hope will help some people.</div>





<div><br></div><div><a href="https://github.com/wjwwood/au-automow/wiki/Ros-osx-i386" target="_blank">https://github.com/wjwwood/au-automow/wiki/Ros-osx-i386</a></div><div><br></div><div>If this seems useful enough to put on the <a href="http://ros.org" target="_blank">ros.org</a> wiki, I would be glad to move it if someone would just point to the place.</div>





<div><br></div><div>Thanks,</div><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>





<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a></div><div><a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
</div>
<br></div></div><div class="im">_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></div></blockquote></div><br><br clear="all"><div class="im"><br>-- <br>Serge Stinckwich<br>UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam<br>Every DSL ends up being Smalltalk<br><a href="http://doesnotunderstand.org/" target="_blank">http://doesnotunderstand.org/</a><br>




</div></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div></div>