unable to import libxml2mod from the python script
Posted
by shahjapan
on Stack Overflow
See other posts from Stack Overflow
or by shahjapan
Published on 2009-08-19T16:40:58Z
Indexed on
2010/06/02
5:23 UTC
Read the original article
Hit count: 312
File "/usr/local/lib/python2.5/site-packages/libxml2.py", line 1, in <module>
import libxml2mod
ImportError: /usr/local/lib/python2.5/site-packages/libxml2mod.so:
undefined symbol:xmlTextReaderSetup
>>> import libxml2mod
>>> import libxml2
>>>
on Python Prompt it works fine !!
can anyone has idea why my program is not working from .py file as import is working perfect from python prompt.
© Stack Overflow or respective owner