Yes I have got it to work now. Thank you.
However, perhaps you could change the instructions and/or create an
install script to place it in the right place.
The trouble is that when you open the zip file there are the three
directories (python, samples, test) and it is not obvious hierachically
where to place them. Nor are the instructions clear. Usually such
packages are placed in 'site-packages' with appropriate __ini__.py files
so as to allow python to navigate and find the packages in the relavant
sub-directories.
I hope I am clear as to why I was confused.
Christopher
Andi Vajda wrote:
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
--
*****************************************************
Natural Language Processing Group,
Department of Computer Science, University of Sheffield
Regent Court, 211 Portobello Street
Sheffield S1 4DP UNITED KINGDOM
Web: http://www.dcs.shef.ac.uk/~kiffer/
Tel: +44(0)114-22.21967 Fax: +44 (0)114-22.21810
Skype: christopherbrewster SkypeIn: +1 (617) 381-4281
*****************************************************
A definition is the enclosing a wilderness of idea within a wall of
words.--- Samuel Butler
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev