Python bob.core导入错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/project/local/lib/python2.7/site-packages/bob/core/__init__.py", line 3, in <module>
bob.extension.load_bob_library('bob.core', __file__)
File "/project/local/lib/python2.7/site-packages/bob/extension/__init__.py", line 244, in load_bob_library
ctypes.cdll.LoadLibrary(full_libname)
File "/usr/lib/python2.7/ctypes/__init__.py", line 440, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 362, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /project/local/lib/python2.7/site-packages/bob/core/libbob_core.so: undefined symbol: _ZN5boost9iostreams4zlib8deflatedE
我不知道如何解决这个问题。我们非常感谢所有的帮助。
答案 0 :(得分:0)
您可能在gcc 5中引入了C ++ ABI兼容性问题。尝试将这些变量导出到0或1.其中一个可能会有效,具体取决于您的系统:
bundle.js
您需要在执行任何软件包的pip安装之前导出这些文件(bob.extension,bob.blitz)。 正如我在bob-devel邮件列表中所说的那样。最好使用我们的conda安装:https://www.idiap.ch/software/bob/install