On Sep 15, 2009, at 12:26, Truffe Hugo <hugotruff...@gmail.com> wrote:

Hello, not exist package name 'lucene'.

G:\Solr\Turbolucene\setuptools-0.6c9-py2.5.egg\setuptools\command \sdist.py:4: Us erWarning: Module toscawidgets was already imported from g: \turbogears-academia\ trabajo ian full time\extras\foro\toscawidgets\__init__.pyc, but g: \turbogears-a cademia\trabajo ian full time\extras\twcurrencylabel is being added to sys.path
import os, re, sys, pkg_resources
Traceback (most recent call last):
File "setup.py", line 45, in <module>
  import turbolucene
File "G:\Solr\Turbolucene\turbolucene\__init__.py", line 214, in <module>
  import lucene as PyLucene
ImportError: No module named lucene

Yes exist el packcage 'jcc', but but this happens

'jcc' is not 'lucene', it's a package used to build PyLucene.

If the 'lucene' package doesn't exist then it probably means that you didn't build or install it. After building jcc, did you build PyLucene ?
If so, does 'make test' succeed ?
If so, did you then install with 'make install' ?

Andi..



G:\Solr\Turbolucene>python setup.py develop
G:\Solr\Turbolucene\setuptools-0.6c9-py2.5.egg\setuptools\command \sdist.py:4: Us erWarning: Module toscawidgets was already imported from g: \turbogears-academia\ trabajo ian full time\extras\foro\toscawidgets\__init__.pyc, but g: \turbogears-a cademia\trabajo ian full time\extras\twcurrencylabel is being added to sys.path
import os, re, sys, pkg_resources
Traceback (most recent call last):
File "setup.py", line 45, in <module>
  import turbolucene
File "G:\Solr\Turbolucene\turbolucene\__init__.py", line 214, in <module>
  import jcc as PyLucene
File "c:\python25\lib\site-packages\jcc-2.3-py2.5-win32.egg\jcc \__init__.py",
line 44, in <module>
  from _jcc.boot import initVM
ImportError: DLL load failed: No se puede encontrar el m¾dulo especi ficado.

Andi Vajda escribió:

On Sep 15, 2009, at 4:43, Truffe Hugo <hugotruff...@gmail.com> wrote:

Hello. Question. Now is not called most Pylucene the package is installed if not JCC?

The package is called 'lucene'.

Will it be possible to rename the package to be called PyLucene?

If you want to use a different name, use 'import lucene as PyLucene'

Andi..



Christian Heimes escribió:
Andi Vajda wrote:

Yeah, I remember now. I guess Hugo should move to Python 2.6 - it's built with VC++ 2008, right? - if getting the older VC++ compiler is not possible.

Hugo, is there any reason for you not to use Python 2.6 ?


You are correct, Python 2.6 and 3.0 are using VS 2008 aka VC9.

Christian



Reply via email to