igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Problem un Update to python 2.5


From: Tamas Nepusz
Subject: Re: [igraph] Problem un Update to python 2.5
Date: Fri, 21 Nov 2008 10:54:59 +0000

Hi Sergio,

When you recompiled the Python interface (I assume you did that, do you?), did you remove the old build/ directory? I usually see this error message (or something like that) when I forgot to do so.

The reason why I am asking is that Py_InitModule4 does not exist in Python2.5 on a 64-bit system; more precisely, it is just a C preprocessor alias to Py_InitModule4_64; however, it did exist in Python2.4 for both 32 and 64-bit systems. It looks like you are still loading the "old" core.so (compiled for 2.4) that somehow got into the Python 2.5 search path.

--
Tamas

On 2008.11.21., at 10:27, Sergio Jiménez Sanjuan wrote:

Hi,
I have python2.4 an igraph 0.5.1 working on a Debian 64 bits.
I have updated my python distribution to 2.5, i have recompiled an installed igraph library and reinstalled the python-igraph module.
Now when I import igraph module I get the following:

>>> import igraph.layout
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/igraph/__init__.py", line 30, in <modul
e>
    from core import *
ImportError: /usr/lib/python2.5/site-packages/igraph/core.so: undefined symbol:
Py_InitModule4


Can you help me with this problem?

Thanks a lot

            Sergio
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help





reply via email to

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