Gentoo Archives: gentoo-science

From: Marc Vinyals <marcvinyals@××××××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] ImportError with latest python-igraph
Date: Fri, 19 Mar 2021 00:09:22
Message-Id: 20210319020757.69892299@clevo-marc
1 Hi all,
2
3 I am running into trouble when trying to use
4 dev-python/python-igraph-0.9.0 with dev-libs/igraph-0.9.0:
5
6 $ python3
7 Python 3.8.8 (default, Mar 14 2021, 23:44:05)
8 [GCC 9.3.0] on linux
9 Type "help", "copyright", "credits" or "license" for more information.
10 >>> import igraph
11 Traceback (most recent call last):
12 File "<stdin>", line 1, in <module>
13 File "/usr/lib/python3.8/site-packages/igraph/__init__.py", line 31,
14 in <module> from igraph._igraph import (
15 ImportError:
16 /usr/lib/python3.8/site-packages/igraph/_igraph.cpython-38-x86_64-linux-gnu.so:
17 undefined symbol: igraph_subcomponent
18
19 To get this to work I have to downgrade both igraph and python-igraph
20 to version 0.8.3 (mixing and matching do not work either because of
21 different reasons, but that would be a separate issue). I did not try
22 igraph-0.8.5.
23
24 I did not find any reports of this issue upstream and this looks too
25 basic to remain unnoticed, so I suspect the problem is somewhere else on
26 my side, but just in case can anyone reproduce it?
27
28 Best,
29 Marc

Replies

Subject Author
Re: [gentoo-science] ImportError with latest python-igraph "François Bissey" <fbissey@××××××××××××.nz>