[pylucene-dev] please help us from ImportError

Andi Vajda vajda at osafoundation.org
Wed May 18 09:43:59 PDT 2005


I'm confused, are you sure you're asking the right list ?

It seems that you're using JPype, something unrelated to PyLucene.
PyLucene uses the libgcj virtual machine via SWIG and doesn't require Jpype 
nor the JDK.

Andi..

On Wed, 18 May 2005, Mahmad Sadique Hannure wrote:

> I have installed Jpype0.5 latest rpm and using JDK1.5
> After that trying to execute following code.
>
> #!/usr/bin/python2.3
>
> from jpype import *
>
> def main():
> 	startJVM("", "-ea")
> 	java.lang.System.out.println("hello world")
> 	shutdownJVM()
>
> if __name__=='__main__':
> 	main()
>
> getting ImportError
>
> python2.3 javaTesting.py
> Traceback (most recent call last):
>  File "javaTesting.py", line 3, in ?
>    from jpype import *
>  File
> "/usr/lib/python2.3/site-packages/jpype/__init__.py",
> line 17, in ?
>    from _jpackage import *
>  File
> "/usr/lib/python2.3/site-packages/jpype/_jpackage.py",
> line 18, in ?
>    import _jpype
> ImportError:
> /usr/lib/python2.3/site-packages/_jpype.so: undefined
> symbol: PyUnicodeUCS4_FromWideChar
>
>
>
> please help me...
>
> Thank You.
>
>
>
>
> __________________________________
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.
> http://mobile.yahoo.com/learn/mail
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>


More information about the pylucene-dev mailing list