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 "Andi Vajda (Jira)" <ji...@apache.org> on 2022/06/02 19:19:00 UTC

[jira] [Commented] (PYLUCENE-64) ModuleNotFoundError: No module named 'lucene' when intalling PyLucene

    [ https://issues.apache.org/jira/browse/PYLUCENE-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545615#comment-17545615 ] 

Andi Vajda commented on PYLUCENE-64:
------------------------------------

I believe there is an issue with running 'make test' in PyLucene 8.x. This is hopefully solved in PyLucene 9.1.0, which was released on 4/27/22.
To see if your PyLucene install works, you can try these steps in Python:
  >>> import lucene
  >>> lucene.initVM()
  >>> from org.apache.lucene.document import Document

If you need more help, please include the portion of the PyLucene Makefile you edited before you ran 'make' and 'make install'.



> ModuleNotFoundError: No module named 'lucene' when intalling PyLucene
> ---------------------------------------------------------------------
>
>                 Key: PYLUCENE-64
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-64
>             Project: PyLucene
>          Issue Type: Bug
>            Reporter: anis amirouche
>            Priority: Major
>
> I'm trying to install Pylucene 8.11.0 on mac os. the jcc is built and installed successfully, but from pylucene folder when running make test i'm encountering the following error : ModuleNotFoundError: No module named 'lucene', please note the make command is successfull.
> please can anyone help me with solving this error. I don't even understand what i'm doing wrong, it's like lucene is not installed, and i'm having this error with all the files of pylucene. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)