Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.79 KB

install.rst

File metadata and controls

63 lines (38 loc) · 2.79 KB

Installation

Requirements

The NetPyNE package requires Python 2 or 3 (both 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 2

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)

Python 3

To install the the package run pip3 install netpyne_py3 (Linux or Mac OS) or python -m pip3 install netpyne_py3 (Windows)

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

pip

If you need to install pip go to this link

Install via pip (development version; only for Python 2) --------------------------------------

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; only for Python 2) --------------------------------------

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