Installing YT to co-exist with existing Python packages
Hi, I don't know how widely this has been discussed (sorry if it has and I've just missed it), but how easy would it be to install YT such that it interacts with my existing Python packages? Is the easiest thing simply to re-install everything to the YT directory and re-update the PYTHONPATH environment variable for any packages not in the default Python path, or is there a better way to allow YT and my existing Python packages to co-exist without activating/deactivating YT? Thanks! Sam
Hi Sam, It shouldn't be a problem. Just make sure you have the dependencies satisfied, set up hdf5.cfg, freetype.cfg and png.cfg files in a checkout of yt from hg, and install it as you would any other python package with setup.py install, etc. The reason we supply the install script, with a full stack, is to ensure that it is installable anywhere. -Matt On Thu, Oct 13, 2011 at 8:47 AM, Sam Geen <samgeen@astro.ox.ac.uk> wrote:
Hi,
I don't know how widely this has been discussed (sorry if it has and I've just missed it), but how easy would it be to install YT such that it interacts with my existing Python packages? Is the easiest thing simply to re-install everything to the YT directory and re-update the PYTHONPATH environment variable for any packages not in the default Python path, or is there a better way to allow YT and my existing Python packages to co-exist without activating/deactivating YT?
Thanks!
Sam _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk
-
Sam Geen