pylucene installation problem on Ubuntu 9.04

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Aug 6 15:48:27 EDT 2009


On Thu, Aug 6, 2009 at 2:49 PM, KK<dioxide.software at gmail.com> wrote:
>
> kk-laptop$ sudo apt-get install pylucene
> and it did install python2.5, python2.5-minimal and pylucene. I must
> mention one thing that I already had python2.6 on my box as the
> default python i.e /usr/bin/python is linked to python2.6. Anyway s,
> now i started the python interpreter using "python" command from cli
> and then to make sure pylucene has been installed i tried to import
> the module and to my surprise it said "module pylucene not found".
> I thought I should enter the python2.6 env and do the same , so i
> tried starting the python2.6 interpreter using "python2.6" as the
> command and tried importing the same module and again it failed giving
> the same irritating message.

Pylucene seems to have installed under Python 2.5. Python extensions
are only installed for one version of python and extensions that use C
may only work under one particular version. If you want to use that
package, run python2.5 from the command line and try importing it.



More information about the Python-list mailing list