我得到這個錯誤:導入錯誤GHMM庫
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/ghmm.py", line 112, in <module>
import ghmmwrapper
File "/usr/local/lib/python2.6/dist-packages/ghmmwrapper.py", line 25, in <module>
_ghmmwrapper = swig_import_helper()
File "/usr/local/lib/python2.6/dist-packages/ghmmwrapper.py", line 21, in swig_import_helper
_mod = imp.load_module('_ghmmwrapper', fp, pathname, description)
ImportError: libghmm.so.1: cannot open shared object file: No such file or directory
但
[email protected]:~# sudo locate libghmm
/usr/local/lib/libghmm.a
/usr/local/lib/libghmm.la
/usr/local/lib/libghmm.so
/usr/local/lib/libghmm.so.1
/usr/local/lib/libghmm.so.1.0.0
爲什麼去我得到這個錯誤?我嘗試添加
/usr/local/lib/
我的PYTHONPATH
,但沒有奏效。
好的,認爲這是一個Python模塊..謝謝! – jorrebor 2012-02-14 10:35:37