NEURON + Python in OSX

Post by Christoph Schmidt-Hieber

+

Here are some relatively pain-free instructions to get NEURON to run with Python support on OS X.

1. Install XCode 3.x. XCode 4 will not work (*). You can get it from an OS X
installation CD/DVD, or from the Apple Developer Connection (requires an account).

2. Install the free version of the Enthought Python Distribution (version 7.1.1, 32 bit) from here.

3. Install Eilif Muller’s NEURON package from here.

Use “Mac OS X >=10.5 NEURON 7.1 Installer built against EPD 7.1.1, build 1 (beta/testing)”

4. Test from a terminal (located in Applications/Utilities):

ipython -pylab

Then, at the ipython command prompt ([1]:), type:

from neuron import gui

Which should bring up NEURON’s main menu.