当前位置: 首页 > 工具软件 > PyLucene > 使用案例 >

Pylucene Installation for Windows

齐乐
2023-12-01

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档


Preface

Recently, I was going to try this tool: pylucene, but encountered some problems, thus make some records here for future reference.

1. Infrastractures’ Versions

python: 3.6
jdk: 1.8
Install pylucene 7.7.1
the versions above are the author’s setup, the author did not try other version combination. But at least, if the improve the jdk version, an error when executing the make command will appear. Y? I do not know.

2.

Mainly follow this link to install and configure the lucene.

3. Step 2

After install and configure ANT, also you need to install and configure Ivy, here the installation guidline.

4.

Continue following untile step 5.

3. Step 5

If you are using anaconda for your managing your python environment, remember to activate the specific python env (in which you are going use the pylucene) to install jcc module. Otherwise, the python will not find the jcc module when executing the make command.


4. Step 6-8

Continue to follow…

5 Some issues during the utilization:

5.1

Traceback (most recent call last):
  File "../syntax.py", line 2, in <module>
    import lucene
  File "D:\Apps\Anaconda\envs\tse_2021_bases\lib\site-packages\lucene-7.7.1-py3.6-win-amd64.egg\lucene\__init__.py", line 3, in <module>
    from . import _lucene
ImportError: DLL load failed: The specified module could not be found.

Solution: Degrade your jdk version.

6 Useful links

 类似资料:

相关阅读

相关文章

相关问答