我一直試圖在我的Mac上安裝Pylucene一個多星期,並且已經放棄了,贊成嘗試通過虛擬機在Ubuntu上安裝它。我想在安裝過程進展順利,所以我在終端發射了Python和試圖import lucene
並取得了以下ImportError
:Pylucene 4.9.0 Ubuntu 14.04安裝ImportError
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/parallels/anaconda/lib/python2.7/site-packages/lucene/__init__.py", line 7, in <module>
import _lucene
ImportError: libverify.so: cannot open shared object file: No such file or directory
所以,它看起來像有一個模塊_lucene
不存在。但我認爲這應該是我剛剛安裝的一部分?任何有識之士將不勝感激。
PuLucene包需要一些額外的軟。請檢查您是否滿足所有要求 http://bendemott.blogspot.com/2013/11/installing-pylucene-4-451.html – Andersson