pylucene

pyLucene Installation

妖精的绣舞 提交于 2019-12-11 06:25:55
问题 I am on Ubuntu 10.04, Python 2.6.5 & having some trouble installing pyLucene. Here's what I have done so far, installed these packages - sudo apt-get install ant sudo apt-get install sun-java6-jdk sudo update-java-alternatives -s java-1.5.0-sun sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install gcj sudo apt-get install python-dev After that got the source code of pyLucene from http://www.apache.org/dyn/closer.cgi/lucene/pylucene/. I got version pylucene-3.0.1-1. Untared it

ImportError: cannot import name Library, during installing PyLucene

白昼怎懂夜的黑 提交于 2019-12-08 01:41:04
问题 I have spent 5 hours to fix this problem but I can't. During installing PyLucene with http://lucene.apache.org/pylucene/install.htmt , I faced with a error like follwing. sanghee-m:jcc sanghee$ python setup.py build found JAVAFRAMEWORKS = /System/Library/Frameworks/JavaVM.framework Traceback (most recent call last): File "setup.py", line 398, in <module> main('--debug' in sys.argv) File "setup.py", line 306, in main from setuptools import Library ImportError: cannot import name Library