Hi,<div><br></div><div>Thanks for your replies.</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; ">

<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I also had some trouble with yaml on my Mac. I solved it by installing py26-yaml:<div><br></div><div>sudo port install py26-yaml</div>

<div><br></div><div>I'm using python2.6 on OS X 10.6.</div><div><br></div><div>Hope this helps!</div><div><br></div><div>Gonçalo Cabrita</div><div>ISR University of Coimbra</div><div>Portugal</div></span></blockquote>

<div><br></div><div>I installed py26-yaml and tried easy_install again..no luck same error.</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; ">

<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">These problems are usually related to confusion between the version of<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">python that ships with Mac OS and the one that is installed by<br>

</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Macports.  For example, you might be installing yaml for one, and<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">running the other, which subsequently can't find it.  So, I would<br>

</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">double-check to make sure you're installing yaml in the Macports<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">version of python 2.6 and running the same version. Try "sudo<br>

</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">python_select python26" if you haven't already, and try re-running<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">easy_install.  Also, /opt/local/bin should appear in your path before<br>

</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">/usr/bin.  Make sure you get /opt/local/bin/python when you run 'which<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">python' at a terminal.</span></blockquote>

<div><br></div><div>"which python" gives me /usr/bin/python and not "/opt/local/bin". How can I make it so that it looks at /opt/local/bin?</div><div><br></div><div>Thanks,</div><div>S. </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; ">

 </blockquote>