Python
For this tutorial it is recommended to use the anaconda python distribution. Download anaconda (Python 3.6 version) from https://www.continuum.io/downloads for Linux x86_64 and follow the installation instructions on the download page. Make sure that python from this installation is in your $PATH
. In addition the following python packages must be installed:
pip install --upgrade pip pip install pjson pip install pyaml pip install future pip install python-igraph
Hint: If later, during usage of the igraph library, an error like this:
ImportError: /home/gks/anaconda3/lib/python3.6/site-packages/igraph/_igraph.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev
occurs, then the libgcc package has to be installed/upgraded:
conda install libgcc