Skip to content

Instantly share code, notes, and snippets.

@huangziwei
Created November 7, 2017 11:41
Show Gist options
  • Save huangziwei/3f5947dafe45dd678dec769b53480ddf to your computer and use it in GitHub Desktop.
Save huangziwei/3f5947dafe45dd678dec769b53480ddf to your computer and use it in GitHub Desktop.
install NEURON with python3
#!/bin/bash
sudo apt-get update
sudo apt-get install -y libxext-dev libncurses5-dev autoconf libtool bison flex
cd ~
git clone https://github.com/nrnhines/nrn
cd nrn
./build.sh
./configure --prefix=`pwd` --with-nrnpython=python3 --without-iv
make
make install
cd src/nrnpython
python3 setup.py install
python3 -c 'import neuron'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment