我運行Ubuntu和我跟所有在這裏找到link的指示..錯誤與FST庫蟒蛇
如果我嘗試測試FST庫我得到這個錯誤
>>> import fst
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/fst/__init__.py", line 1, in <module>
from fst._fst import EPSILON, EPSILON_ID, SymbolTable,\
ImportError: libfst.so.1: cannot open shared object file: No such file or directory
>>>
你確定你確實安裝了openfst嗎? 'ls -l/usr/local/lib/libfst *'說什麼? – abarnert
另外,你的問題說「Erro with ftp library」。 'openfst'不是一個FTP庫。問題標題是錯誤的還是問題中的圖書館? – abarnert
-rwxr-xr-x 1 root root 924 Feb 15 17:05 /usr/local/lib/libfst.la -rwxr-xr-x 1 root root 960 Feb 15 17:05/usr/local/lib/libfstscript .la lrwxrwxrwx 1 root root 21 Feb 15 17:05 /usr/local/lib/libfstscript.so - > libfstscript.so.1.0.0 lrwxrwxrwx 1 root root 21 Feb 15 17:05/usr/local/lib/libfstscript.so.1 - > libfstscript.so.1.0.0 -rwxr-xr-x 1 root root 102374564 Feb 15 17:05 /usr/local/lib/libfstscript.so.1.0.0 lrwxrwxrwx 1 root root 15 Feb 15 17:05 /usr/local/lib/libfst.so - > libfst.so.1.0.0 – user2617287