问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/33640673/importerror-igraph-undefined-symbol