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: Sergio Jiménez
Subject: RE: [igraph] Problem un Update to python 2.5
Date: Fri, 21 Nov 2008 12:18:23 +0100

It works. Thanks


-----Mensaje original-----
De: address@hidden
[mailto:address@hidden En nombre de
Tamas Nepusz
Enviado el: viernes, 21 de noviembre de 2008 11:55
Para: Help for igraph users
Asunto: Re: [igraph] Problem un Update to python 2.5

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



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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1779 - Release Date: 20/11/2008
19:28





reply via email to

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