That could make it run. Add this to __init__.py
"C:\Python25\Lib\site-packages\JCC-2.3-py2.5-win32.egg\jcc"
import os, sys
if sys.platform == 'win32':
from jcc.config import SHARED
if SHARED:
os.environ['PATH'] = r'C:\Archivos de
programa\Java\jdk1.6.0_07\jre\bin\client;' + os.environ['PATH']
path = os.environ['Path'].split(os.pathsep)
eggpath =
os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
if eggpath not in path:
path.insert(0, eggpath)
os.environ['Path'] = os.pathsep.join(path)
if __name__ == '__main__':
import jcc.__main__
else:
from _jcc import initVM
CLASSPATH=os.path.join(os.path.abspath(os.path.dirname(__file__)),
"classes")
Specifically, this was added:
os.environ['PATH'] = r'C:\Archivos de
programa\Java\jdk1.6.0_07\jre\bin\client;' + os.environ['PATH']
Here's the url if they want to look:
http://lists.osafoundation.org/pipermail/pylucene-dev/2008-February/002297.html
Thanks => Gracias (Un poco de Castellano jeje)
Christian Heimes escribió:
Truffe Hugo wrote:
File
"c:\python25\lib\site-packages\JCC-2.3-py2.5-win32.egg\jcc\__init__.py",
line 30, in <module>
from _jcc import initVM
ImportError: DLL load failed: Can not find the specified module
make: *** [install] Error -1
Do you have the jvm.dll in your PATH?
Christian