
Hi-- I'm trying to put yt on my 10.4 power pc laptop (Methuselah). I did: svn export http://svn.enzotools.org/yt/trunk/doc/install_script.sh DEST_DIR=$HOME/local bash install_script.sh I then get the error below Any thoughts? Thanks, d. Installing into /Users/dcollins/local INST_WXPYTHON=0 Downloading HDF5 Downloading hdf5-1.6.8.tar.gz from yt.enzotools.org Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org Downloading Python-2.6.1.tgz from yt.enzotools.org Downloading numpy-1.2.1.tar.gz from yt.enzotools.org Downloading matplotlib-0.98.5.2.tar.gz from yt.enzotools.org Downloading ipython-0.9.1.tar.gz from yt.enzotools.org Downloading tables-2.1.tar.gz from yt.enzotools.org Setting YT_DIR=/Users/dcollins/local/src/yt-trunk-svn/ Installing setuptools Failure. Check /Users/dcollins/local/yt_install.log. %> cat /Users/dcollins/local/yt_install.log Traceback (most recent call last): File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 269, in <module> main(sys.argv[1:]) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 201, in main egg = download_setuptools(version, delay=0) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 123, in download_setuptools import urllib2, shutil File "/Users/dcollins/local//lib/python2.6/urllib2.py", line 92, in <module> import httplib File "/Users/dcollins/local//lib/python2.6/httplib.py", line 77, in <module> import mimetools File "/Users/dcollins/local//lib/python2.6/mimetools.py", line 6, in <module> import tempfile File "/Users/dcollins/local//lib/python2.6/tempfile.py", line 34, in <module> from random import Random as _Random File "/Users/dcollins/local//lib/python2.6/random.py", line 871, in <module> _inst = Random() File "/Users/dcollins/local//lib/python2.6/random.py", line 96, in __init__ self.seed(x) File "/Users/dcollins/local//lib/python2.6/random.py", line 115, in seed super(Random, self).seed(a) SystemError: error return without exception set

Hi Dave, I'm not sure it will work with PPC, but you should give a shot at the OSX installation script (detailed here: http://yt.enzotools.org/wiki/OSXInstallation ) which are to use the script install_script_osx.sh : svn export http://svn.enzotools.org/yt/trunk/doc/install_script_osx.sh This will download binary installers for most things; however, I cannot guarantee that it will completely work. You may have to manually install matplotlib, but NumPy should be fine. -Matt On Thu, Apr 30, 2009 at 1:55 PM, david collins <antpuncher@gmail.com> wrote:
Hi--
I'm trying to put yt on my 10.4 power pc laptop (Methuselah). I did:
svn export http://svn.enzotools.org/yt/trunk/doc/install_script.sh DEST_DIR=$HOME/local bash install_script.sh
I then get the error below Any thoughts?
Thanks, d. Installing into /Users/dcollins/local INST_WXPYTHON=0 Downloading HDF5 Downloading hdf5-1.6.8.tar.gz from yt.enzotools.org Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org Downloading Python-2.6.1.tgz from yt.enzotools.org Downloading numpy-1.2.1.tar.gz from yt.enzotools.org Downloading matplotlib-0.98.5.2.tar.gz from yt.enzotools.org Downloading ipython-0.9.1.tar.gz from yt.enzotools.org Downloading tables-2.1.tar.gz from yt.enzotools.org Setting YT_DIR=/Users/dcollins/local/src/yt-trunk-svn/ Installing setuptools Failure. Check /Users/dcollins/local/yt_install.log.
%> cat /Users/dcollins/local/yt_install.log Traceback (most recent call last): File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 269, in <module> main(sys.argv[1:]) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 201, in main egg = download_setuptools(version, delay=0) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 123, in download_setuptools import urllib2, shutil File "/Users/dcollins/local//lib/python2.6/urllib2.py", line 92, in <module> import httplib File "/Users/dcollins/local//lib/python2.6/httplib.py", line 77, in <module> import mimetools File "/Users/dcollins/local//lib/python2.6/mimetools.py", line 6, in <module> import tempfile File "/Users/dcollins/local//lib/python2.6/tempfile.py", line 34, in <module> from random import Random as _Random File "/Users/dcollins/local//lib/python2.6/random.py", line 871, in <module> _inst = Random() File "/Users/dcollins/local//lib/python2.6/random.py", line 96, in __init__ self.seed(x) File "/Users/dcollins/local//lib/python2.6/random.py", line 115, in seed super(Random, self).seed(a) SystemError: error return without exception set _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Hi, I remember working with Matt one evening in January, and I know that the install script was working on OS X 10.4 PowerBook then. I'm running an install right now, to see if I can duplicate what happened to you. --Rick
I'm not sure it will work with PPC, but you should give a shot at the OSX installation script (detailed here: http://yt.enzotools.org/wiki/OSXInstallation ) which are to use the script install_script_osx.sh :
svn export http://svn.enzotools.org/yt/trunk/doc/install_script_osx.sh
This will download binary installers for most things; however, I cannot guarantee that it will completely work. You may have to manually install matplotlib, but NumPy should be fine.
-Matt
On Thu, Apr 30, 2009 at 1:55 PM, david collins <antpuncher@gmail.com> wrote:
Hi--
I'm trying to put yt on my 10.4 power pc laptop (Methuselah). I did:
svn export http://svn.enzotools.org/yt/trunk/doc/install_script.sh DEST_DIR=$HOME/local bash install_script.sh
I then get the error below Any thoughts?
Thanks, d. Installing into /Users/dcollins/local INST_WXPYTHON=0 Downloading HDF5 Downloading hdf5-1.6.8.tar.gz from yt.enzotools.org Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org Downloading Python-2.6.1.tgz from yt.enzotools.org Downloading numpy-1.2.1.tar.gz from yt.enzotools.org Downloading matplotlib-0.98.5.2.tar.gz from yt.enzotools.org Downloading ipython-0.9.1.tar.gz from yt.enzotools.org Downloading tables-2.1.tar.gz from yt.enzotools.org Setting YT_DIR=/Users/dcollins/local/src/yt-trunk-svn/ Installing setuptools Failure. Check /Users/dcollins/local/yt_install.log.
%> cat /Users/dcollins/local/yt_install.log Traceback (most recent call last): File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 269, in <module> main(sys.argv[1:]) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 201, in main egg = download_setuptools(version, delay=0) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 123, in download_setuptools import urllib2, shutil File "/Users/dcollins/local//lib/python2.6/urllib2.py", line 92, in <module> import httplib File "/Users/dcollins/local//lib/python2.6/httplib.py", line 77, in <module> import mimetools File "/Users/dcollins/local//lib/python2.6/mimetools.py", line 6, in <module> import tempfile File "/Users/dcollins/local//lib/python2.6/tempfile.py", line 34, in <module> from random import Random as _Random File "/Users/dcollins/local//lib/python2.6/random.py", line 871, in <module> _inst = Random() File "/Users/dcollins/local//lib/python2.6/random.py", line 96, in __init__ self.seed(x) File "/Users/dcollins/local//lib/python2.6/random.py", line 115, in seed super(Random, self).seed(a) SystemError: error return without exception set _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

I'm not sure it will work with PPC, but you should give a shot at the OSX installation script (detailed here: http://yt.enzotools.org/wiki/OSXInstallation ) which are to use the script install_script_osx.sh :
Ah-- rtfm, Dr. Collins, I completely missed that first line on the install page. I'm going to try the enthought distro of python operation-- I'll let you know. Thanks, d.
svn export http://svn.enzotools.org/yt/trunk/doc/install_script_osx.sh
This will download binary installers for most things; however, I cannot guarantee that it will completely work. You may have to manually install matplotlib, but NumPy should be fine.
-Matt
On Thu, Apr 30, 2009 at 1:55 PM, david collins <antpuncher@gmail.com> wrote:
Hi--
I'm trying to put yt on my 10.4 power pc laptop (Methuselah). I did:
svn export http://svn.enzotools.org/yt/trunk/doc/install_script.sh DEST_DIR=$HOME/local bash install_script.sh
I then get the error below Any thoughts?
Thanks, d. Installing into /Users/dcollins/local INST_WXPYTHON=0 Downloading HDF5 Downloading hdf5-1.6.8.tar.gz from yt.enzotools.org Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org Downloading Python-2.6.1.tgz from yt.enzotools.org Downloading numpy-1.2.1.tar.gz from yt.enzotools.org Downloading matplotlib-0.98.5.2.tar.gz from yt.enzotools.org Downloading ipython-0.9.1.tar.gz from yt.enzotools.org Downloading tables-2.1.tar.gz from yt.enzotools.org Setting YT_DIR=/Users/dcollins/local/src/yt-trunk-svn/ Installing setuptools Failure. Check /Users/dcollins/local/yt_install.log.
%> cat /Users/dcollins/local/yt_install.log Traceback (most recent call last): File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 269, in <module> main(sys.argv[1:]) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 201, in main egg = download_setuptools(version, delay=0) File "/Users/dcollins/local/src/yt-trunk-svn//ez_setup.py", line 123, in download_setuptools import urllib2, shutil File "/Users/dcollins/local//lib/python2.6/urllib2.py", line 92, in <module> import httplib File "/Users/dcollins/local//lib/python2.6/httplib.py", line 77, in <module> import mimetools File "/Users/dcollins/local//lib/python2.6/mimetools.py", line 6, in <module> import tempfile File "/Users/dcollins/local//lib/python2.6/tempfile.py", line 34, in <module> from random import Random as _Random File "/Users/dcollins/local//lib/python2.6/random.py", line 871, in <module> _inst = Random() File "/Users/dcollins/local//lib/python2.6/random.py", line 96, in __init__ self.seed(x) File "/Users/dcollins/local//lib/python2.6/random.py", line 115, in seed super(Random, self).seed(a) SystemError: error return without exception set _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Ah-- rtfm, Dr. Collins, I completely missed that first line on the install page.
I'm going to try the enthought distro of python operation-- I'll let you know.
FYI - The Enthought Python Distribution has a busted version of PyTables on PPC--it's stuck in little-endian mode. You'll need to removed and install PyTables from source. It's not a big deal, just remove what's in the distro and run easy_install. And I don't know if this is strictly necessary, since yt doesn't depend on PyTables, but it may use it if available. Other than that, I've found EPD to be a huge convenience. --Rick
participants (4)
-
david collins
-
David Collins
-
Matthew Turk
-
Rick Wagner