Enthought and SBML

{First posted 3 January 2012 at u003f.com, saved from oblivion by the internet archive}

A long time ago, I resolved to replace Matlab with python as my programming language of choice. I was recommended the Enthought python distribution (EPD), which has various packages installed around pylab and is free to academics.

I had some issues getting EPD to talk to SBML, until a young man with a weird surname helped me out. The three steps to overcoming your ophidiophobia are:

1. Link EPD’s unusual directory to the normal place …
sudo ln -s /Library/Frameworks/EPD64.framework /Library/Frameworks/Python.framework/

2. … configure libSBML 5.3.0 there …
./configure --with-python=/Library/Frameworks/Python.framework/Versions/Current

3. … and change ~/.bash_profile to
export PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PYTHONPATH=/usr/local/lib/python2.7/site-packages

A python


1 thought on “Enthought and SBML

  1. Pingback: Pythooooon | U+003F

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s