Installation

Requirements

The NetPyNE package requires Python 2.7 (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)

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 pip (Windows)

If you need to install pip go to this link

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

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.

Table Of Contents

Previous topic

NetPyNE Overview

Next topic

Tutorial