[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Installing Python bindings
From: |
Venura Mendis |
Subject: |
Re: [igraph] Installing Python bindings |
Date: |
Wed, 22 Apr 2009 11:18:45 +0100 |
Thanks Tamas. Installing python2.5-dev fixed it. Ive been spoilt with
package managers! I didnt even know about python-dev
Ill upgrade to 0.52 when you release the updated bindings.
On Wed, 2009-04-22 at 11:07 +0100, Tamas Nepusz wrote:
> Hi Venura,
>
> > In file included from src/vertexobject.c:26:
> > src/vertexobject.h:27:20: error: Python.h: No such file or directory
> You need to install the development package for Python as you are
> compiling a Python extension. I think this is called python-dev for
> the default Python version or things like python25-dev for a specific
> version.
>
> > I tried it with default python install 2.6 I get the same error and
> > also a warning
> > setup.py:25: DeprecationWarning: os.popen3 is deprecated. Use the
> > subprocess module. Does igraph work with python 2.6 also?
> Yes, it works from 2.4 upwards (except Python3K of course which is a
> different story). python-igraph 0.5.2 will use the subprocess module
> instead of os.popen3 so it will eliminate this warning. The Python
> bindings for 0.5.2 are about to be released within a few days.
>