I wanted to install the neuron simulator in a way that it could be imported from my system python (2.7.12). From what I read online it is nessasary to install from source. Fortunately that doesn't seem to be to difficult.

First I downloaded the nrn and iv gziped source files from the neuron website at yale: http://neuron.yale.edu/neuron/download/getstd

I unpacked these on my desktop and then built using iv using

./configure
make
make install

I performed the same operation for neuron except added the following flags to ./configure so that I could build neuron in parallel

./configure --with-nrnpython --with-paranrn
make
make install

I then installed the python by switching to the nrn/src/nrnpython directory and using python setup.py install --user


Comments

comments powered by Disqus