lxml.etree error: xmlSchematronSetValidStructuredErrors

TheIvIaxx theiviaxx at gmail.com
Wed Dec 10 17:44:59 EST 2008


I have installed libxml2 and libxslt and then tried to install lxml
with easy_install lxml.  I can import lxml by "import lxml" but trying
"from lxml import etree" and get:

ImportError: /usr/local/lib/python2.5/site-packages/lxml-2.2alpha1-
py2.5-linux-i686.egg/lxml/etree.so: undefined symbol:
xmlSchematronSetValidStructuredErrors

I have only seen one mention of this error through googling and they
suggested there was something wrong with libxml2 or libxslt.  However
importing libxml2 works fine, libxslt throws an error about it not
defining an init function (?).

Any advice?

Thanks



More information about the Python-list mailing list