pylucene 与 python 3

gev*_*vra 5 python lucene pylucene python-3.x

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

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

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

rud*_*ier 5

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

我已经移植jccpylucene以python3

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

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

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

  • @ziyuang上游现已正式发布支持python3的PyLucene 6.5.0。http://lucene.apache.org/pylucene/ (3认同)

A. *_*ady 3

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