<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>
Yes, I can open python :<br>
<br>
shankar-MacBook-Pro:yt hitu$ yt-i386/bin/python<br>
Python 2.7.2 (default, Jul  5 2012, 12:32:35) <br>
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> <br>
<br>
This is a Mac OS X - 10.6.8 (intel core 2 Duo)<br>
<br>
Let me know if this helps.<br>
Shankar<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF922615"><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 1:34 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>Can you give us a little bit more detail on your setup - i.e. OS X version, intel or powerPC, and any other information that may be important.</div>
<div><br>
</div>
<div>The error you're seeing can happen when python is built on a 64 bit platform but tries to link against 32 bit libraries.  Can you try opening the python that install script built (it should be in $YT_DEST/bin/python2.7) typing 'import pyexpat'?.</div>
<div><br>
</div>
<div>I've never seen this error before so apologies for not having a quick solution.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<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; 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">
<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"><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>
</span></div>
</span></span></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>