ImportError: no module named _jcc
Question: I'm trying to install pylucene on python 2.7 (windows) since four days. It
requires JCC to build and install. After thousands and thousands different
errors I handled myself, at last JCC sucessfully builded and installed. At
least, that was what I thought. After that, I tried to import jcc but I get
this error:

    
    
    Traceback (most recent call last):  
        File "<stdin>", line 1, in <module>  
        File "jcc\__init__.py", line 29, in <module>  
          from _jcc import initVM  
    ImportError: No module named _jcc  
    

any ideas? It looks installed perfectly but I can't import it.


Answer: Make sure your current dir is not jcc build directory. I get this error if I
try to import jcc when in build directory, python uses the wrong jcc then.

