[yt-users] yt installaton failing

Nathan Goldbaum goldbaum at ucolick.org
Thu Jul 5 13:02:56 PDT 2012


Hi Shankar,

Sorry about the name confusion.  

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.

Maybe someone else on the list has more insight.

We may also be able to give you somewhat lower latency help if you drop by the irc channel: http://yt-project.org/irc.html

Cheers,

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

On Jul 5, 2012, at 12:27 PM, Agarwal, Shankar wrote:

> Hi Nathan,
> 
> I guess you are right. Both the files are built with i386 :
> 
> ./lib/python2.7/lib-dynload/pyexpat_failed.so: Mach-O bundle i386
> ./bin/python2.7: Mach-O executable i386
> 
> I am using the install_script.sh. Can I make it build 64bit ?
> 
> I am able to import pyexpat.
> 
> Shankar
> 
> From: yt-users-bounces at lists.spacepope.org [yt-users-bounces at lists.spacepope.org] on behalf of Nathan Goldbaum [goldbaum at ucolick.org]
> Sent: Thursday, July 05, 2012 2:09 PM
> To: Discussion of the yt analysis package
> Subject: Re: [yt-users] yt installaton failing
> 
> 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
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> 
>> 
>> !DSPAM:10175,4ff5d2ea26207861929410!
> 
> !DSPAM:10175,4ff5ea981503474419097! _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> 
> !DSPAM:10175,4ff5ea981503474419097!

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


More information about the yt-users mailing list