Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError igraph: undefined symbol

After installing python-igraph with pip, I still can't import it. I've encountered such error around the internet but most solutions I've found were about reinstalling the module, which I already did. Any suggestions on how to fix this would be greatly appreciated. Thanks

>>> import igraph
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python3.5/site-packages/igraph/__init__.py", line 34, in <module>
      from igraph._igraph import *
ImportError: /usr/lib/python3.5/site-packages/igraph/_igraph.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE
like image 685
bmo Avatar asked Nov 09 '22 01:11

bmo


1 Answers

Uninstalling everything through pip and then installing python-igraph community repo package for arch linux did it. Didn't realize there was one. Suggested by Tamás.

like image 163
bmo Avatar answered Nov 14 '22 23:11

bmo