Please select the type of installation you would like:
Option 1: Install only NetPyNE (without the GUI).
Option 2: Install NetPyNE and the NetPyNE GUI (alpha version). This link includes installation instructions for NEURON and NetPyNE, using specific versions that have been fully tested with the GUI. Note that the NetPyNE GUI only supports Python 3.
Install only NetPyNE (without the GUI)¶
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 web. 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 (OpenMPI).
piptool for installing Python packages. See pip installation here.
Install the latest released version of NetPyNE via pip (Recommended)¶
Linux or Mac OS:
pip install netpyne
python -m pip install netpyne
Upgrade to the latest released version of NetPyNE via pip¶
Use this option if you already have NetPyNE installed and just want to update to the latest version.
Linux or Mac OS:
pip install netpyne -U
python -m pip install -U netpyne
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:
git clone https://github.com/Neurosim-lab/netpyne.git
git checkout development
pip install -e .
pip will add a symlink in the default python packages folder to the cloned netpyne folder (so you don’t need to modify PYTHONPATH). If new changes are available just need to
git pull from cloned netpyne repo.
This version can also be used by developers interested in extending the package.
Install NetPyNE and the NetPyNE GUI (alpha version)¶
The NetPyNE-UI GitHub Wiki provides instructions to install NEURON, NetPyNE and NetPyNE-UI, using specific versions that have been fully tested with the GUI. There are 3 alternative ways to do this:
2) Install using Docker - Pre-packaged installation that includes everything you need in a Docker container: NEURON, NetPyNE and NetPyNE-UI.
3) Virtual machine - Download a virtual machine image with everything pre-installed. Requires the Virtual Box software.