igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] cannot install igraph on ubuntu11.04


From: franck kalala
Subject: [igraph] cannot install igraph on ubuntu11.04
Date: Tue, 31 May 2011 14:48:14 +0100 (BST)

Hi all,

I was trying to install python-graph package but I am getting an error message:

address@hidden:~/Downloads/python-igraph-0.5.4$ sudo python setup.py 
install
[sudo] password for eragon: 
Include path: /usr/local/include
Library path: /usr/local/lib
running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth 
files
running bdist_egg
running egg_info
writing python_igraph.egg-info/PKG-INFO
writing top-level names to python_igraph.egg-info/top_level.txt
writing dependency_links to python_igraph.egg-info/dependency_links.txt
reading manifest file 'python_igraph.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'python_igraph.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'igraph.core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/local/include 
-I/usr/include -I/usr/include/python2.7 -c src/graphobject.c -o 
build/temp.linux-x86_64-2.7/src/graphobject.o
In file included from src/graphobject.c:24:0:
src/common.h:27:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
address@hidden:~/Downloads/python-igraph-0.5.4$ 

Cheers,

Franck



reply via email to

[Prev in Thread] Current Thread [Next in Thread]