Created
November 7, 2017 11:41
-
-
Save huangziwei/3f5947dafe45dd678dec769b53480ddf to your computer and use it in GitHub Desktop.
install NEURON with python3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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