Skip to content

Latest commit

 

History

History
108 lines (71 loc) · 3.22 KB

install.rst

File metadata and controls

108 lines (71 loc) · 3.22 KB

Prerequisites / Installation

Elephant is a pure Python package so that it should be easy to install on any system.

Dependencies

The following packages are required to use Elephant:

Note

at the time of writing Neo 0.4.0 has not been released. You should therefore use this snapshot.

The following packages are optional in order to run certain parts of Elephant:
  • For using the pandas_bridge module:
    • pandas >= 0.14.0
  • For building the documentation:
    • numpydoc >= 0.5
    • sphinx >= 1.2.2
  • For running tests:
    • nose >= 1.3.3

All dependencies can be found on the Python package index (PyPI).

Debian/Ubuntu

For Debian/Ubuntu, we recommend to install numpy and scipy as system packages using apt-get:

$ apt-get install python-numpy python-scipy python-pip

Further packages are found on the Python package index (pypi) and should be installed with pip:

$ pip install quantities
$ pip install git+https://github.com/NeuralEnsemble/python-neo.git@apibreak#egg=neo-apibreak

We highly recommend to install these packages using a virtual environment provided by virtualenv or locally in the home directory using the --user option of pip (e.g., pip install --user quantities), neither of which require administrator privileges.

Windows/Mac OS X

On non-Linux operating systems we recommend using the Anaconda Python distribution, and installing all dependencies in a Conda environment, e.g.:

$ conda create -n neuroscience python
$ source activate neuroscience
$ conda install numpy scipy pip
$ pip install quantities
$ pip install git+https://github.com/NeuralEnsemble/python-neo.git@apibreak#egg=neo-apibreak

Installation

Automatic installation from PyPI

The easiest way to install Elephant is via pip:

$ pip install elephant    

Manual installation from pypi

To download and install manually, download the latest package from http://pypi.python.org/pypi/elephant

Then:

$ tar xzf elephant-0.1.tar.gz
$ cd elephant-0.1
$ python setup.py install

or:

$ python3 setup.py install

depending on which version of Python you are using.

Installation of the latest build from source

To install the latest version of Elephant from the Git repository:

$ git clone git://github.com/NeuralEnsemble/elephant.git
$ cd elephant
$ python setup.py install