You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "Petrus Hyvönen (Jira)" <ji...@apache.org> on 2022/02/12 08:56:00 UTC
[jira] [Updated] (PYLUCENE-62) Not finding jvm.dll on windows
[ https://issues.apache.org/jira/browse/PYLUCENE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petrus Hyvönen updated PYLUCENE-62:
-----------------------------------
Description:
On recent versions of Python, the dll's needs to be added via the os.add_dll_directory() function.
Apparently something changed in Python 3.8 regarding this, "Python 3.8 changed the DLL resolution order [https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew]"
Thanks to:
[https://github.com/conda-forge/python-feedstock/issues/552]
Proposed fix in a patch below. It can likely be rewritten in some more neat way. :)
> Not finding jvm.dll on windows
> ------------------------------
>
> Key: PYLUCENE-62
> URL: https://issues.apache.org/jira/browse/PYLUCENE-62
> Project: PyLucene
> Issue Type: Bug
> Reporter: Petrus Hyvönen
> Priority: Major
>
> On recent versions of Python, the dll's needs to be added via the os.add_dll_directory() function.
>
> Apparently something changed in Python 3.8 regarding this, "Python 3.8 changed the DLL resolution order [https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew]"
> Thanks to:
> [https://github.com/conda-forge/python-feedstock/issues/552]
>
> Proposed fix in a patch below. It can likely be rewritten in some more neat way. :)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)