-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathHow_to_Install_NEURON.txt
40 lines (24 loc) · 1.28 KB
/
How_to_Install_NEURON.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(After installing Python as instructed here: https://www.anaconda.com/distribution/)
## Windows
1. Open https://www.neuron.yale.edu/neuron/download with your web browser.
2. Click on - Download Windows installer (64 bit).
3. Install NEURON and make sure to select "Set DOS environment. (Useful if ...)" when asked to select components to install.
## macOS
1. Open https://www.neuron.yale.edu/neuron/download with your web browser.
2. Click on - Download OSX installer.
3. Install NEURON and click YES to all questions.
## Linux
1. Open https://www.neuron.yale.edu/neuron/download with your web browser.
2. Download the NEURON installer which fits your linux distribution (.dep or .rpm).
3. Install NEURON
4. Open a terminal window.
5. Type:
echo 'export PYTHONPATH=/usr/local/nrn/lib/python:$PYTHONPATH' >> ~/.bashrc
To test that NEURON was installed correctly open jupyter notebook or any python shell and check if the following commands are working:
from neuron import gui
from neuron import h
## Troubleshooting:
1. (Ubuntu) - Can not compile mod files with nrnivmodl, get "/usr/bin/ld: cannot find -lncurses"
Solution:
you need to install ncurses development, in ubuntu this is how to install it:
sudo apt-get install libncurses-dev