Ubuntu 16.04 LTS に Cytoscape 向けのPython用ラッパー兼ユーティリティー集である py2cytoscape をインストールする際に python-igraph のエラーが発生しました。
Makefile:2357: ターゲット 'libigraph.la' のレシピで失敗しました
make[3]: *** [libigraph.la] エラー 1
make[3]: ディレクトリ '/tmp/pip-build-a2e2flrv/python-igraph/tmp/igraph.ola6sjpv/igraph-0.7.1/src' から出ます
Makefile:1377: ターゲット 'all' のレシピで失敗しました
make[2]: *** [all] エラー 2
make[2]: ディレクトリ '/tmp/pip-build-a2e2flrv/python-igraph/tmp/igraph.ola6sjpv/igraph-0.7.1/src' から出ます
Makefile:480: ターゲット 'all-recursive' のレシピで失敗しました
make[1]: *** [all-recursive] エラー 1
make[1]: ディレクトリ '/tmp/pip-build-a2e2flrv/python-igraph/tmp/igraph.ola6sjpv/igraph-0.7.1' から出ます
Makefile:382: ターゲット 'all' のレシピで失敗しました
make: *** [all] エラー 2
Could not download and compile the C core of igraph.
----------------------------------------
Failed building wheel for python-igraph
調べたところ libigraph0-dev が必要とのことだったので、こちらをインストールしたところ正常にインストールできました。
$ sudo apt-get install -y libigraph0-dev