Did the
hg clone hg branch cd yt2.0 python setup.py install copied Forthon insize yt2.0 python setup.py install inside the new Forthon directory cd yt2.0 python setup.py install
from yt.mods import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-intel.egg/yt/mods.py",
but now inside python when I try to import yt.mods I get line 74, in <module> from yt.analysis_modules.halo_finding.api import \ File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-intel.egg/yt/analysis_modules/halo_finding/api.py", line 31, in <module> from halo_objects import \ File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-intel.egg/yt/analysis_modules/halo_finding/halo_objects.py", line 45, in <module> from parallel_hop.parallel_hop_interface import \ File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-intel.egg/yt/analysis_modules/halo_finding/parallel_hop/parallel_hop_interface.py", line 36 free_tree, find_chunk_nearest_neighbors ^ IndentationError: unexpected indent
From G.S.
Geoffrey,
4. So can someone point me to a 2.0 installation script? Thanks a bunch.
I think the simplest way to get this is to make a new copy of yt in your src/ directory. Do something like this:
$ hg clone http://hg.enzotools.org/yt/ yt-2
and then go into yt-2, and copy the 'hdf5.cfg' file from the yt source you have been using in here. Make sure you're using the correct branch "yt":
$ hg branch yt
And then do:
$ python setup.py install
You'll have to "make" the fKDpy.so file again, and then do the command above again.
Remember, this is the branch that is under active development and has many changes compared to older versions of yt. Some of your scripts may not work without modification.
Good luck!
Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org