<html><head><base href="x-msg://976/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Shankar,<div><br></div><div>Sorry about the name confusion.  </div><div><br></div><div>I'm mystified about what's happening.  For some reason, the pip setup is unable to find the version of python isntalled by yt and fails when it tries to import a built-on python library.  This is doubly weird because other python packages like distribute and mercurial were able to find the yt python with no problem.</div><div><br></div><div>Maybe someone else on the list has more insight.</div><div><br></div><div>We may also be able to give you somewhat lower latency help if you drop by the irc channel: <a href="http://yt-project.org/irc.html">http://yt-project.org/irc.html</a></div><div><br></div><div>Cheers,</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Nathan Goldbaum<br>Graduate Student<br>Astronomy & Astrophysics, UCSC<br><a href="mailto:goldbaum@ucolick.org">goldbaum@ucolick.org</a><br>http://www.ucolick.org/~goldbaum</div></span></div></span></div></span></span>
</div>
<br><div><div>On Jul 5, 2012, at 12:27 PM, Agarwal, Shankar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div ocsi="0" fpstyle="1" style="word-wrap: break-word; "><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">Hi Nathan,<br><br>I guess you are right. Both the files are built with i386 :<br><br>./lib/python2.7/lib-dynload/pyexpat_failed.so: Mach-O bundle i386<br>./bin/python2.7: Mach-O executable i386<br><br>I am using the install_script.sh. Can I make it build 64bit ?<br><br>I am able to import pyexpat.<br><br>Shankar<br><br><div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 16px; "><hr tabindex="-1"><div id="divRpF221148" style="direction: ltr; "><font color="#000000" face="Tahoma" size="2"><b>From:</b><span class="Apple-converted-space"> </span><a href="mailto:yt-users-bounces@lists.spacepope.org">yt-users-bounces@lists.spacepope.org</a><span class="Apple-converted-space"> </span>[yt-users-bounces@lists.spacepope.org] on behalf of Nathan Goldbaum [goldbaum@ucolick.org]<br><b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, July 05, 2012 2:09 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Discussion of the yt analysis package<br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [yt-users] yt installaton failing<br></font><br></div><div></div><div><div>Hi Agarwal,</div><div><br></div><div>I still think this is a 32/64 bit problem.  in the $YT_DEST directory, can you do the following commands:</div><div><br></div><div>(yt-i386)humperdinck:yt-i386 goldbaum$ file ./lib/python2.7/lib-dynload/pyexpat.so</div><div><br></div><div>(yt-i386)humperdinck:yt-i386 goldbaum$ file bin/python2.7</div><div><br></div><div>The output for both of my files is: Mach-O 64-bit bundle x86_64</div><div><br></div><div>I have a feeling that one of your files is built with i386 (32 bit).</div><div><br></div><div>Also, in the previous e-mail I wanted you to try importing pyexpat.  In the python build by the yt script, please enter 'import pyexpat'.</div><div><br></div><div>pyexpat is the built-in python xml parser.  If python can't import it then your python installation is corrupted somehow.</div><div><br></div><div>Cheers,</div><br><div><div style="word-wrap: break-word; "><div style="word-wrap: break-word; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; ">Nathan Goldbaum<br>Graduate Student<br>Astronomy & Astrophysics, UCSC<br><a href="mailto:goldbaum@ucolick.org" target="_blank">goldbaum@ucolick.org</a><br><a href="http://www.ucolick.org/~goldbaum">http://www.ucolick.org/~goldbaum</a></div></span></div></div></div><br><div><div>On Jul 5, 2012, at 10:46 AM, Agarwal, Shankar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><div><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">Hi,<br><br>While trying to install yt on mac, it quits after a while:<br><br>Installing BZLIB<br>Installing ZLIB<br>Installing PNG<br>Installing FreeType2<br>Installing HDF5<br>Installing SQLite3<br>Installing Python.  This may take a while, but don't worry.  YT loves you.<br>Installing Mercurial.<br>Installing mercurial-2.0 (arguments: 'mercurial-2.0')<br>Setting YT_DIR=/Users/hitu/Documents/yt/yt-i386/src/yt-hg/<br>Installing distribute<br>Installing pip<br>Failure.  Check /Users/hitu/Documents/yt/yt-i386/yt_install.log.<br><br><br><br>I checked yt_install.log :<br><br>from pyexpat import *<br>ImportError: No module named pyexpat<br>Something went wrong during the installation.<br>See the error message above.<br>install_script.sh: line 499: /Users/hitu/Documents/yt/yt-i386/bin/easy_install-2.7: No such file or directory<br> <br><br>Please let me know how to proceed.<br>Thanks<br>Shankar<br></div>_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br><br><br>!DSPAM:10175,4ff5d2ea26207861929410!<br></div></span></blockquote></div><br></div></div></div>!DSPAM:10175,4ff5ea981503474419097! _______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br><br><br>!DSPAM:10175,4ff5ea981503474419097!<br></div></span></blockquote></div><br></div></body></html>