|
From: | Fintan Nagle |
Subject: | Re: [igraph] Igraph won't import on Python 3.3, OS X |
Date: | Wed, 13 Nov 2013 16:20:27 +0000 |
Hello,Extensions compiled for Python 2.x are binary-incompatible with Python 3.x and vice versa, so it's no surpruse that python-igraph compiled for Python 2.x does not work in Python 3. Have you tried compiling the Python interface from source with Python 3?
T.Can anyone help? :)The library works fine in Python 2.7....but I can't work out how to find its definition so that igraph can be imported.Hello all,The string _PyFile_Type appears in the igraph.so file on the line:
When I try from igraph import * on Python 3.3, OS X, I get the following error:
>>> from igraph import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/igraph/__init__.py", line 34, in <module>
from igraph._igraph import *
ImportError: dlopen(/Library/Python/2.7/site-packages/igraph/_igraph.so, 2): Symbol not found: _PyFile_Type
Referenced from: /Library/Python/2.7/site-packages/igraph/_igraph.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/igraph/_igraph.so
address@hidden@_PyFloat_TypeÄåˇˇˇˇˇˇˇˇ address@hidden@
Thanks,
Fintan_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |