[pylucene-dev] please help us from ImportError

Mahmad Sadique Hannure sadique_hannure at yahoo.com
Wed May 18 02:40:14 PDT 2005


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 


More information about the pylucene-dev mailing list