igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] cannot install igraph on ubuntu11.04


From: Tamas Nepusz
Subject: Re: [igraph] cannot install igraph on ubuntu11.04
Date: Tue, 31 May 2011 15:56:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

Hi,

You need the Python development packages (python-dev) if you want to compile
a Python extension yourself.

-- 
T.

On 05/31/2011 03:48 PM, franck kalala wrote:
> 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
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
> 



reply via email to

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