0
我試圖使用pip模塊swigibpy。我之前在一個不同的系統上安裝過它,並且沒問題,但由於某種原因,它不再有效。未定義的符號與編譯包
我在安裝了Anaconda Python 3.5的Ubuntu 16.04上運行。我已經安裝了Ubuntu的軟件包python-dev和g ++。
我不明白以下錯誤的性質。如果你能給我任何有助於我追蹤的見解,那將是一個很大的幫助。
>>> import swigibpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/chris/anaconda3/lib/python3.5/site-packages/swigibpy.py", line 34, in <module>
_swigibpy = swig_import_helper()
File "/home/chris/anaconda3/lib/python3.5/site-packages/swigibpy.py", line 30, in swig_import_helper
_mod = imp.load_module('_swigibpy', fp, pathname, description)
File "/home/chris/anaconda3/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/chris/anaconda3/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /home/chris/anaconda3/lib/python3.5/site-packages/_swigibpy.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE