Hi,<div><br></div><div>I finally fixed it. Just letting everyone know in case someone else has a similar problem. Basically, the problem with the pyyaml installation is, Mac OS X comes with a Python installation (2.5) which is located at </div>

<div>/System/Library/Frameworks/Python.framework/Versions/2.5/</div><div><br></div><div>Soft links for python, python-config, python2.5 etc for execs located in the above folder are available at /usr/bin. </div><div><br>
</div>
<div>Now Macports installs its own version of python (2.6 for ROS) which is located at</div><div>/opt/localLibrary/Frameworks/Python.framework/Versions2.6/</div><div><br></div><div>Now, there are also multiple versions of easy_install the default one catering to python version 2.5. So if we do sudo easy_install -U rosinstall, rosinstall gets installed at /usr/local/bin and when launched references the original python version that came with Mac OS X. Making sure that the Macports bin path appears before /usr/bin doesnt fix this problem. So what I ended up doing is removing the soft links in /usr/bin for the original python installation. Then I used easy_install-2.6 to install rosinstall. Now, heres the tricky part, using this command installs rosinstall at /opt/localLibrary/Frameworks/Python.framework/Versions2.6/bin/rosinstall and /opt/localLibrary/Frameworks/Python.framework/Versions2.6/bin/roslocate. However, these are not included into the PATH variable by defualt. So, I just soft linked rosinstall and roslocate to /opt/local/bin and ran rostinstall. And everything works now! (well it seems to be installing).</div>

<div><br></div><div>Thanks everyone for your help,</div><div>S.</div><meta charset="utf-8"><meta charset="utf-8">