5

我有一个带有 python 3.4.3 的虚拟环境。我想为这个环境安装 pylucene。

我怎样才能做到这一点?或者,如果我使用虚拟环境中的 python,我还能以某种方式运行 pylucene?

我在http://lucene.apache.org/pylucene/install.html上找不到任何关于 python 3 支持的信息 ,如果我按照说明操作,我会在 JCC 安装阶段遇到语法错误,因为代码是预计将与 python 2.x 一起运行。

4

2 回答 2

5

更新答案:PyLucene 6.5.0 现在正式移植到 python3。http://lucene.apache.org/pylucene/

我已经移植jccpylucenepython3

首先jcc从这里安装: https ://github.com/rudimeier/jcc

然后pylucene从这里: https ://github.com/rudimeier/pylucene

pylucene 存储库在不同的分支中包含 3 个移植版本(3.x、4.x 和 6.x)。

于 2017-03-14T20:03:41.217 回答
3

PyLucene 目前不支持 Python 3; 目前还不清楚是否会

于 2015-12-09T16:11:28.693 回答