You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you installed PyNN before installing NEURON, or if you update your PyNN installation, you will need to manually run :command:`nrnivmodl` in the :file:`pyNN/neuron/nmodl` directory.
67
+
If you installed PyNN before installing NEURON, or if you update your PyNN installation,
68
+
you will need to manually run :command:`nrnivmodl` in the :file:`pyNN/neuron/nmodl` directory.
68
69
69
70
Installing NEURON
70
71
=================
71
72
72
-
Download the sources for the latest release of NEURON, in ``.tar.gz`` format, from `<http://www.neuron.yale.edu/neuron/download/getstd>`_. Also download Interviews from the same location.
73
+
Download the sources for the latest release of NEURON, in ``.tar.gz`` format, from `<http://www.neuron.yale.edu/neuron/download/getstd>`_.
74
+
Also download Interviews from the same location.
73
75
74
-
Compile Interviews and NEURON according to the instructions given at `<http://www.neuron.yale.edu/neuron/static/download/compilestd_unix.html>`_, except that when you run :command:`configure`, add the options :option:`--with-nrnpython` and, optionally, :option:`--with-paranrn`, i.e.::
76
+
Compile Interviews and NEURON according to the instructions given at `<http://www.neuron.yale.edu/neuron/static/download/compilestd_unix.html>`_,
77
+
except that when you run :command:`configure`, add the options :option:`--with-nrnpython` and, optionally, :option:`--with-paranrn`, i.e.::
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008
85
-
See http://www.neuron.yale.edu/credits.html
87
+
NEURON -- VERSION 7.3 ansi (1078:2b0c984183df) 2014-04-04
88
+
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2014
89
+
See http://www.neuron.yale.edu/neuron/credits
86
90
87
91
>>> import hoc
88
92
>>> import nrn
89
93
90
94
Now you can compile and install NEURON as a Python package::
91
95
92
96
$ cd src/nrnpython
93
-
# python setup.py install
94
-
95
-
Note that the latter step requires running as root and will install to your global Python :file:`site-packages` directory.
96
-
If you would prefer to install it locally, replace the last step with::
97
-
98
-
$ python setup.py install --prefix=~
99
-
100
-
which will install into :file:`~/lib/python2.7/site-packages/` (or the equivalent for other Python versions; for more fine-grained control over where the package is installed, see the `distutils`_ documentation), then add this directory to your :envvar:`PYTHONPATH`::
0 commit comments