python - pylucene 与 python 3

标签 python python-3.x lucene pylucene

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

我该怎么做?或者,如果我在虚拟环境中使用 python,我还能以某种方式运行 pylucene 吗?

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

最佳答案

更新答案: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)。

关于python - pylucene 与 python 3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34170299/

相关文章:

python - Python 3.5 对外部模块的向后兼容性

python - 使用 cv2 时删除 [h264 @ xxx] 错误控制台输出

elasticsearch - Lucene和Elasticsearch超出了文档限制

java - lucene:如何执行增量索引并避免 'delete and redo'

python - 使用 Python 进行精确的事件同步

python - 如何打印出某个单词的排名数?

列表中的 Python 3 奇数函数行为

python - 如何用python将字符串拆分为2?

python - 如何在 python 中创建悬挂指针(在堆栈或堆中)

elasticsearch - 在Elasticsearch中创建多个索引