However, I'm having trouble with it :-C. This might be entirely due to our setup, in which we're installing on a server that we don't have admin control over. This has previously caused issues with libraries being compiled with/without options that igraph doesn't expect, but my understanding was that the newer versions of python-igraph had resolved this issue.
Notably, we get different errors depending on whether we use pip or just clone the 0.7 branch of python-igraph from github.
pip install:
src/arpackobject.c:133: error: for each function it appears in.)
src/arpackobject.c:133: error: expected ';' before 'n'
src/arpackobject.c:144: error: 'igraphmodule_ARPACKOptionsObject' has no
member named 'params'
src/arpackobject.c:144: error: 'igraph_real_t' undeclared (first use in
this function)
src/arpackobject.c:144: error: expected ';' before 'PyLong_AsLong'
src/arpackobject.c:146: error: 'igraphmodule_ARPACKOptionsObject' has no
member named 'params'
src/arpackobject.c:146: error: expected ';' before 'PyFloat_AsDouble'
src/arpackobject.c: At top level:
src/arpackobject.c:160: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /home/bowen_yan/anaconda3/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip_build_bowen_yan/python-igraph/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-rmcw1fbs-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1
in /tmp/pip_build_bowen_yan/python-igraph
Storing debug log for failure in /home/bowen_yan/.pip/pip.log
python setup.py install:
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
-Iigraphcore/include -I../../build/include -I../../include
-I/usr/local/include/igraph -I/usr/include/igraph
-I/home/bowen_yan/anaconda3/include/python3.4m -c src/pyhelpers.c -o
build/temp.linux-x86_64-3.4/src/pyhelpers.o
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
-Iigraphcore/include -I../../build/include -I../../include
-I/usr/local/include/igraph -I/usr/include/igraph
-I/home/bowen_yan/anaconda3/include/python3.4m -c src/arpackobject.c -o
build/temp.linux-x86_64-3.4/src/arpackobject.o
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
-Iigraphcore/include -I../../build/include -I../../include
-I/usr/local/include/igraph -I/usr/include/igraph
-I/home/bowen_yan/anaconda3/include/python3.4m -c src/indexing.c -o
build/temp.linux-x86_64-3.4/src/indexing.o
In file included from src/indexing.c:25:
src/convert.h:63: error: expected declaration specifiers or '...' before
'igraph_layout_grid_t'
src/convert.h:66: error: expected declaration specifiers or '...' before
'igraph_random_walk_stuck_t'
error: command 'gcc' failed with exit status 1