Can EPD Python and MacPorts Python coexist on OS X (matplotlib)?

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

Can two Python distributions coexist peacefully on the same machine? What potential issues should I be looking for (environment variables for example)?

I know that building matplotlib via MacPorts is an option, but the process is long (about one day) and there are open questions about compiling some dependencies on 64-bit Intel.

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

+2


a source to share


2 answers


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

EPD integrates its own python interpreter and all required libraries. The installer basically just extracts the tarball into a separate folder.



The linux installer does not change any environment variables (not even $ PATH), so I assume the Mac installer is similar.

(Because of this, you probably want to manually configure the aliases in the python / ipython / etc EPD files so that they can be called easily without changing $ PATH.)

As far as I know, EPD should really be completely autonomous. It must be safe to install next to each other.
+3


a source


I used EPD on Windows 7. It works great. I have stuck with me several times with a fairly large dataset.

I am also using OSX and was about to install an EPD but hesitated a bit.

I think python 2.7.3 that ships with EPD (early 2013) will become python by default. Usually upgrading to 2.7 from 2.6 shouldn't be a problem based on my personal experience. But I'm a little concerned that I have 2 versions 2.7 and what impact this will have on using the GAE SDK on my OSX. (The retrofit created a bit of a hassle with the GAE SKD.)

Here's what the EPD readme says:



A full install will install the following: * Python Framework - Installed at: /Library/Frameworks/Python.framework/Versions/7.3

  • Python Applications - Installed at / Application / Enthought

  • System Fixes - Makes the Python EPD the default one by adding lines to your .bash_profile to your path.

I think I'll sleep on this one.

0


a source







All Articles