On Tue, 14 Mar 2006, Christopher Brewster wrote:

I am having trouble installing Pylucene.
The readme says place the whole Pylucene directory in the site-packages directory, which I have done. However, I get the error message "No module named PyLucene" if I run PyLucene from the directory where the files to be indexed are.

The directory structure is as follows:
site-packages
        PyLucene
                python (in here is PyLucene)
                samples
                test

As far as I know there should be __init__ file(s) usually for this to work.

Do I need to change my path setting?

You most likely didn't install the PyLucene.py and _PyLucene.pyd files into the proper place, that is, the 'site-packages' directory of your python installation. If you did, you're probably running a different python, an easy mistake to make when installing windows python but running cygwin's.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to