Before installing NetPyNE, please ensure you have the following installed:

  1. Python 2 or 3 (2.7, and versions > 3.6 are supported). We recommend the package/environment manager Anaconda which comes with Python and many necessary packages already installed. Alternatively, installing Python can be handled through the official Python website. If you are using Windows, see the quickstart guides for using Windows Subsystem Linux (preferred) or using Python through the Anaconda distribution on Windows.

  2. The pip tool for installing Python packages. See pip installation here.

  3. 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 for Linux or Mac: the latest NEURON version on Linux or Mac can be installed simply via: pip install neuron.

N.B. Windows users can make use of Windows Subsystem Linux to recreate a Linux environment.

F.A.Q. Historically, path definitions have caused issues with running Python, NEURON or NetPyNE. Using a path manager helps with resolving this (Anaconda, Miniconda, etc.). When installing be careful that all recommended path definitions are included with the installation.

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 Windows through WSL) or Mac OS:

From the terminal:

pip install netpyne -U


From Anaconda PowerShell or a user preconfigured terminal:

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: 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:

  1. git clone

  2. cd netpyne

  3. git checkout development

  4. pip install -e .

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.

Use a browser-based online version of NetPyNE GUI (beta version)

The NetPyNE GUI is available online at: There is a maximum number of simultaneous users for this online version, so if you can’t log in, please try again later.

Note: the GUI also includes an interactive Python Jupyter Notebook (click “Python” icon at bottom-left) that you can use to directly run NetPyNE code/models (i.e. without using the actual graphical interface).

Installation Troubleshooting

If you have any issues during the installation please post a message with the details to the NetPyNE forum or the NetPyNE GitHub issues .