In this guide, we’ll be learning how to install NetPyNE on your desktop with Python. If you want to use the GUI, you don't need this part and you can directly go on the in-browser app.
1
Requirements
Before installing NetPyNE, please ensure you have the following installed:
Python 2 or 3 (2.7, 3.6 and 3.7 are supported). Download from the official Python website. Alternatively, you can download the Anaconda Distribution which also includes several data science and visualization packages.
The NEURON simulator. See NEURON’s installation instructions. If you would like to run parallelized simulations, please ensure you install NEURON with MPI support (see also Quick start guide). Note: the latest NEURON version can be installed simply via pip install neuron
2
Install the latest released version of NetPyNE via pip (Recommended)
Linux or MacOS
pip install netpyne
Linux or MacOS
python -m pip install netpyne
3
Install the development version of NetPyNE via GitHub and pip
The NetPyNE package source files, as well as example models, are available via GitHub at: https://github.com/Neurosim-lab/netpyne. The following instructions will install the version in the GitHub “development” branch – it will include some of the latest enhancements and bug fixes, but could also include temporary bugs:
pip will add a symlink in the default Python packages directory to the cloned NetPyNE directory (so you don’t need to modify PYTHONPATH). If new changes are available just need to git pull from the cloned NetPyNE directory.
This version can also be used by developers interested in extending the package.