[yt-users] yt installaton failing

Agarwal, Shankar sagarwal at ku.edu
Thu Jul 5 12:27:12 PDT 2012


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<mailto: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<mailto: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/de1f721f/attachment.html>


More information about the yt-users mailing list