Gentoo Archives: gentoo-science

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

Replies

Subject Author
Re: [gentoo-science] ImportError with latest python-igraph Marc Vinyals <marcvinyals@××××××××.com>