Installation¶
Simple install¶
Under most linux distributions, the simplest way is to install pip <https://pip.pypa.io/en/stable/installing/> and git, then simply type into a terminal: >>> sudo pip install git+https://github.com/Silmathoron/NNGT.git
There are ways for windows users, but NEST won’t work anyway...
Dependencies¶
This package depends on several libraries (the number varies according to which modules you want to use).
Basic dependencies¶
- Regardless of your needs, the following libraries are required:
- numpy
- scipy
- matplotlib
- graph_tool
- or igraph
- or networkx
Note
If they are not present on your computer, pip
will directly try to install the three first libraries, however:
- lapack is necessary for scipy and pip cannot install it on its own
- you will have to install the graph library yourself (only networkx can be installed directly using
pip
only)
Using NEST¶
- If you want to simulate activities on your complex networks, NNGT can directly interact with the NEST simulator to implement the network inside PyNEST. For this, you will need to install NEST with Python bindings, which requires:
- Python headers (python-dev package on many linux distributions)
- autoconf
- automake
- libtool
- libltdl