
Hi,
Also trying to install yt on the same system, but having problems with both methods I tried! I tried using the install script I got from the yt website and it gets a fair way along and then chokes on:
changing mode of /home/wadsley/enzo/yt//bin/2to3 to 775 changing mode of /home/wadsley/enzo/yt//bin/smtpd.py to 775 running install_egg_info
Writing /home/wadsley/enzo/yt//lib/python2.6/lib-dynload/Python-2.6.3-py2.6.egg-info
if test -f /home/wadsley/enzo/yt//bin/python -o -h /home/wadsley/enzo/yt//bin/python; \ then rm -f /home/wadsley/enzo/yt//bin/python; \ else true; \
fi
(cd /home/wadsley/enzo/yt//bin; ln python2.6 python) rm -f /home/wadsley/enzo/yt//bin/python-config
(cd /home/wadsley/enzo/yt//bin; ln -s python2.6-config python-config) Creating directory /home/wadsley/enzo/yt//share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
/home/wadsley/enzo/yt//share/man/man1/python.1
abort: clone -r not supported yet for remote repositories. abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! /home/wadsley/enzo/yt/bin/python2.6: can't open file '/home/wadsley/enzo/yt/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
Then I tried grabbing it via:
hg clone http://hg.enzotools.org/yt/ yt-2
and
python setup.py install
but got: bash-3.1$ python setup.py install Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz Extracting in /home/wadsley/tmp/tmpQck3di Now working in /home/wadsley/tmp/tmpQck3di/distribute-0.6.10 Building a Distribute egg in /1/home/wadsley/enzo/yt-2 /1/home/wadsley/enzo/yt-2/distribute-0.6.10-py2.4.egg Traceback (most recent call last): File "setup.py", line 73, in ? setup_package() File "setup.py", line 33, in setup_package from numpy.distutils.core import setup ImportError: No module named numpy.distutils.core
Failure is sad :(
Elizabeth

Hi Elizabeth,
The first error looks like you're using a system install of mercurial that is too old. I'd recommend just letting yt install mercurial.
The second error looks like you're using a python that doesn't have numpy installed; this will be fixed if you install using the install script...
-Matt
On Tue, Dec 21, 2010 at 1:00 PM, Elizabeth Tasker taskere@mcmaster.ca wrote:
Hi,
Also trying to install yt on the same system, but having problems with both methods I tried! I tried using the install script I got from the yt website and it gets a fair way along and then chokes on:
changing mode of /home/wadsley/enzo/yt//bin/2to3 to 775 changing mode of /home/wadsley/enzo/yt//bin/smtpd.py to 775 running install_egg_info
Writing /home/wadsley/enzo/yt//lib/python2.6/lib-dynload/Python-2.6.3-py2.6.egg-info
if test -f /home/wadsley/enzo/yt//bin/python -o -h /home/wadsley/enzo/yt//bin/python; \ then rm -f /home/wadsley/enzo/yt//bin/python; \ else true; \
fi
(cd /home/wadsley/enzo/yt//bin; ln python2.6 python) rm -f /home/wadsley/enzo/yt//bin/python-config
(cd /home/wadsley/enzo/yt//bin; ln -s python2.6-config python-config) Creating directory /home/wadsley/enzo/yt//share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
/home/wadsley/enzo/yt//share/man/man1/python.1
abort: clone -r not supported yet for remote repositories. abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! /home/wadsley/enzo/yt/bin/python2.6: can't open file '/home/wadsley/enzo/yt/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
Then I tried grabbing it via: hg clone http://hg.enzotools.org/yt/ yt-2
and
python setup.py install
but got: bash-3.1$ python setup.py install Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz Extracting in /home/wadsley/tmp/tmpQck3di Now working in /home/wadsley/tmp/tmpQck3di/distribute-0.6.10 Building a Distribute egg in /1/home/wadsley/enzo/yt-2 /1/home/wadsley/enzo/yt-2/distribute-0.6.10-py2.4.egg Traceback (most recent call last): File "setup.py", line 73, in ? setup_package() File "setup.py", line 33, in setup_package from numpy.distutils.core import setup ImportError: No module named numpy.distutils.core
Failure is sad :(
Elizabeth
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Hi Matt,
Sweet. That works. Thanks~
Elizabeth
Matthew Turk wrote:
Hi Elizabeth,
The first error looks like you're using a system install of mercurial that is too old. I'd recommend just letting yt install mercurial.
The second error looks like you're using a python that doesn't have numpy installed; this will be fixed if you install using the install script...
-Matt
On Tue, Dec 21, 2010 at 1:00 PM, Elizabeth Tasker taskere@mcmaster.ca wrote:
Hi,
Also trying to install yt on the same system, but having problems with both methods I tried! I tried using the install script I got from the yt website and it gets a fair way along and then chokes on:
changing mode of /home/wadsley/enzo/yt//bin/2to3 to 775 changing mode of /home/wadsley/enzo/yt//bin/smtpd.py to 775 running install_egg_info
Writing /home/wadsley/enzo/yt//lib/python2.6/lib-dynload/Python-2.6.3-py2.6.egg-info
if test -f /home/wadsley/enzo/yt//bin/python -o -h /home/wadsley/enzo/yt//bin/python; \ then rm -f /home/wadsley/enzo/yt//bin/python; \ else true; \
fi
(cd /home/wadsley/enzo/yt//bin; ln python2.6 python) rm -f /home/wadsley/enzo/yt//bin/python-config
(cd /home/wadsley/enzo/yt//bin; ln -s python2.6-config python-config) Creating directory /home/wadsley/enzo/yt//share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
/home/wadsley/enzo/yt//share/man/man1/python.1
abort: clone -r not supported yet for remote repositories. abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! abort: repository /home/wadsley/enzo/yt/src/yt-hg/ not found! /home/wadsley/enzo/yt/bin/python2.6: can't open file '/home/wadsley/enzo/yt/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
Then I tried grabbing it via: hg clone http://hg.enzotools.org/yt/ yt-2
and
python setup.py install
but got: bash-3.1$ python setup.py install Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz Extracting in /home/wadsley/tmp/tmpQck3di Now working in /home/wadsley/tmp/tmpQck3di/distribute-0.6.10 Building a Distribute egg in /1/home/wadsley/enzo/yt-2 /1/home/wadsley/enzo/yt-2/distribute-0.6.10-py2.4.egg Traceback (most recent call last): File "setup.py", line 73, in ? setup_package() File "setup.py", line 33, in setup_package from numpy.distutils.core import setup ImportError: No module named numpy.distutils.core
Failure is sad :(
Elizabeth
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
participants (2)
-
Elizabeth Tasker
-
Matthew Turk