1
누군가가 저에게 cfs 파일을 주었고 PyLucene이 파이썬으로 그것을 처리하는 가장 좋은 방법처럼 보였으므로 PyLucene을 사용하여 조금 놀고 싶습니다. 나는이 오류PyLucene : ImportError : 이름을 가져올 수 없습니다 SimpleFSDirectory
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name SimpleFSDirectory
어떤 힌트이나 조언을 얻을
python
>>> import lucene
>>> from lucene import SimpleFSDirectory
내 콘솔에서 할 때 나는 12.04
그럼 난 우분투 오전 http://bendemott.blogspot.co.uk/2013/11/installing-pylucene-4-451.html
만 튜토리얼을 따라 ?
은 분명히, 자습서의 대부분은 구식 org.apache.lucene.store 수입 SimpleFSDirectory에서
: 답을 찾고 몇 일 후