views:

162

answers:

1

I've been using MacPorts Python 2.6 on OS X 10.6. I am considering also installing the Enthought Python Distribution (EPD) on the same machine because it comes preconfigured with matplotlib and other nice data analysis and visualization packages.

Can the two Python distributions co-exist peacefully on the same machine? What potential problems will I have to look out for (e.g., environment variables)?

I know that building matplotlib through MacPorts is an option, but the process is lengthy (on the order of a full day) and there are open questions about compiling some dependencies on 64bit Intel.

I would like to know about the tradeoffs before committing to one of the two approaches.

+1  A: 

I'm not an OSX user, so I can't say for certain, but you should be fine.

EPD bundles its own python interpreter and all required libraries. The installer basically just extracts a tarball into a stand-alone folder.

The linux installer doesn't modify any environment variables (not even $PATH), so I assume the mac installer is similar.

(Because of this, you'll probably want to manually set up aliases to the EPD python/ipython/etc binaries so you can more easily call them without changing your $PATH.)

EPD really should be completely stand-alone, as far as I know. It should be safe to install along-side anything else.

Joe Kington
Thanks for the Linux data point. This sounds promising.
bjoern