Hi folks,

As a brief note to those looking for a quick fix, if you have Mac OS X 10.8, mountain lion, and are looking for a distribution of python 2.7 that has numpy, scipy and matplotlib all kitted up and ready to go, I would heartily endorse the Enthought Python Distribution . I’ve found that this does precisely what I need – which is to allow me to have an attempt at finite difference methods for PDE. In particular I am keen to implement solution of the geodesic equation on a Riemannian manifold using these techniques.

Note that this works with Eclipse Juno 4.2 and Pydev. Naturally the interpreter needs to be configured. Python can be found at /Library/Frameworks/Python.framework/Versions/7.3/bin/python2.7 . Select the default libraries and everything should work.

Alternatively, one can open a terminal and simply key in “Idle”, and import numpy, import scipy, import matplotlib – all of these will work without error.

Finally, note that this will edit .bash_profile in user_home (.bash_profile allows one to customise the path in mac os x 10.8).

**.bash_profile:**

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

Although, I have been thinking that C++ might be a better tool to use in terms of approaching tensor calculus. I’m actually quite keen to start looking into the genetic algorithms and neural network code I discovered. These snippets can be found at this site , “ai junkie“.

### Like this:

Like Loading...

*Related*

Tags: .bash_profile, ai junkie, enthought, genetic algorithms, matplotlib, neural networks, numpy, pde, scipy

This entry was posted on March 14, 2013 at 1:30 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

## Leave a Reply