I have a virtual environment with python 3.4.3. I want to install pylucene for this environment.
How can I do that? Or can I somehow still run pylucene if I use the python from my virtual environment?
I couldn't find any info on python 3 support on http://lucene.apache.org/pylucene/install.html and if I follow the instructions, I'm getting syntax error on the phase of JCC installation as the code is expected to be run with python 2.x.
PyLucene is a Python extension for accessing Java Lucene™. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is API compatible with Java Lucene version 9.1. 0 as of April 27th, 2022.
Updated answer: PyLucene 6.5.0 is now officially ported to python3. http://lucene.apache.org/pylucene/
I have ported jcc
and pylucene
to python3
First install jcc
from here:
https://github.com/rudimeier/jcc
Then pylucene
from here:
https://github.com/rudimeier/pylucene
The pylucene repository contains 3 ported versions (3.x, 4.x and 6.x) in different branches.
PyLucene doesn't currently support Python 3; it's unclear if it will.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With