<html><body bgcolor="#FFFFFF"><div>Can't comment much beyond what's already been said except that I recently successfully installed Diamondback on a fresh 10.6 machine (MacBook pro). </div><div><br></div><div>I was surprised that after running python_select and port installing py26-yaml, I had to also easy_install pyyaml,  but after easy_install, everything worked. </div><div><br></div><div>--Nick<br><br><br></div><div><br>On Mar 13, 2011, at 10:39 PM, "S.Sudarshan" <<a href="mailto:sudarshan85@gmail.com">sudarshan85@gmail.com</a>> wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div>Hi,<div><br></div><div>Thanks for your reply.</div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

As far as easy_install... If I recall correctly there are multiple easy_installs (e.g. easy_install25, easy_install26, etc or something along those lines) that you could run, each that installs for a different version of Python.<br>

Easiest test for whether or not yaml will import would be something along the lines of "/usr/bin/env python" and then try to "import yaml" in the interpreter that pops up. "/usr/bin/env python" is the shebang line all ROS python scripts should be using and should get you to whichever Python ROS will actually be using.<br>

Hope that helps.<br>- Eric</blockquote><div><br></div><div>Ok..."which easy_intall" revealed /usr/bin/easy_install...which I believe is not the one that I need. So I checked at /opt/local/bin and there was easy_install-2.6. So I did "sudo easy_install-2.6 -U pyyaml" and no luck, gave me the same error as before. However, as you suggested I launched python and tried to import yaml and it imported without any problems.</div>

<div><br></div><div>So I went ahead and tried rosinstall (which I had installed using easy_install. When I tried to install rosinstall using easy_install-2.6 it said rosinstall was already active.) but I got the same error about not being able to import yaml.</div>

<div><br></div><div>Thanks,</div><div>S. </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>ros-users mailing list</span><br><span><a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a></span><br><span><a href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a></span><br></div></blockquote></body></html>