[問題]關於igraph安裝問題

看板Python作者 (vincent)時間10年前 (2015/11/11 20:22), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
我在Linux下用pip安裝完python-igraph後, 還是無法import...... # cd /usr/local/lib/python2.7/site-packages # pip install python-igraph Requirement already satisfied (use --upgrade to upgrade): python-igraph in ./python_igraph-0.7.1.post6-py2.7-linux-x86_64.egg # python Python 2.7.10 (default, Nov 11 2015, 19:55:28) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import igraph Traceback (most recent call last): File "<stdin>", line 1, in <module> File "igraph/__init__.py", line 34, in <module> from igraph._igraph import * ImportError: igraph/_igraph.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE 有誰知道如何解決呢?謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.230.49.22 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1447244529.A.DC1.html

11/12 00:19, , 1F
用ldd 看一下_igraph.so 能不能load起來吧
11/12 00:19, 1F
文章代碼(AID): #1MGpBnt1 (Python)
文章代碼(AID): #1MGpBnt1 (Python)