<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word">
<div style="direction: ltr;font-family: Tahoma;color: #000000;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: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF221148"><font color="#000000" face="Tahoma" size="2"><b>From:</b> yt-users-bounces@lists.spacepope.org [yt-users-bounces@lists.spacepope.org] on behalf of Nathan Goldbaum [goldbaum@ucolick.org]<br>
<b>Sent:</b> Thursday, July 05, 2012 2:09 PM<br>
<b>To:</b> Discussion of the yt analysis package<br>
<b>Subject:</b> 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; 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">
<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>
http://www.ucolick.org/~goldbaum</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>
!DSPAM:10175,4ff5d2ea26207861929410! _______________________________________________<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>
</body>
</html>