[yt-users] yt installaton failing

Nathan Goldbaum goldbaum at ucolick.org
Thu Jul 5 12:09:00 PDT 2012


Hi Agarwal,

I still think this is a 32/64 bit problem.  in the $YT_DEST directory, can you do the following commands:

(yt-i386)humperdinck:yt-i386 goldbaum$ file ./lib/python2.7/lib-dynload/pyexpat.so

(yt-i386)humperdinck:yt-i386 goldbaum$ file bin/python2.7

The output for both of my files is: Mach-O 64-bit bundle x86_64

I have a feeling that one of your files is built with i386 (32 bit).

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'.

pyexpat is the built-in python xml parser.  If python can't import it then your python installation is corrupted somehow.

Cheers,

Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC
goldbaum at ucolick.org
http://www.ucolick.org/~goldbaum

On Jul 5, 2012, at 10:46 AM, Agarwal, Shankar wrote:

> Hi,
> 
> While trying to install yt on mac, it quits after a while:
> 
> Installing BZLIB
> Installing ZLIB
> Installing PNG
> Installing FreeType2
> Installing HDF5
> Installing SQLite3
> Installing Python.  This may take a while, but don't worry.  YT loves you.
> Installing Mercurial.
> Installing mercurial-2.0 (arguments: 'mercurial-2.0')
> Setting YT_DIR=/Users/hitu/Documents/yt/yt-i386/src/yt-hg/
> Installing distribute
> Installing pip
> Failure.  Check /Users/hitu/Documents/yt/yt-i386/yt_install.log.
> 
> 
> 
> I checked yt_install.log :
> 
> from pyexpat import *
> ImportError: No module named pyexpat
> Something went wrong during the installation.
> See the error message above.
> install_script.sh: line 499: /Users/hitu/Documents/yt/yt-i386/bin/easy_install-2.7: No such file or directory
>  
> 
> Please let me know how to proceed.
> Thanks
> Shankar
> !DSPAM:10175,4ff5d2ea26207861929410! _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> 
> !DSPAM:10175,4ff5d2ea26207861929410!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120705/8204a653/attachment.html>


More information about the yt-users mailing list