Installation

Requirements

The NetPyNE package requires Python 2 or 3 (2.7, 3.6 and 3.7 are supported). Download from www.python.org.

Additionally, running parallelized simulations of networks requires the NEURON simulator with python and MPI support. See NEURON’s installation instructions and documentation

Other useful links:

Note: It is possible to use the NetPyNE package without NEURON, to convert model specifications into Python-based instantiated networks (hierarchical data structure of objects, dicts and lists), and export into different formats.

Install via pip (latest released version)

Python

To install the the package run pip install netpyne (Linux or Mac OS) or python -m pip install netpyne (Windows)

To upgrade to a new version run pip install netpyne -U (Linux or Mac OS) or python -m pip install -U netpyne (Windows)

pip

If you need to install pip go to this link

Install via pip (development version)

This 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 https://github.com/Neurosim-lab/netpyne.git
  2. cd netpyne
  3. git checkout development
  4. 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 pull from cloned netpyne repo.

Install NetPyNE GUI (alpha version)

You can install the tool via pip (requires NEURON ), or using our pre-packaged Docker or Virtual Machine.

Github

The NetPyNE package source files, as well as example models, are available via github at: https://github.com/Neurosim-lab/netpyne