[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

ImportError when importing etree from lxml

Subject: ImportError when importing etree from lxml
From: "Scott Young sjyoung@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jul 2014 19:51:15 -0000
 ImportError when importing etree from lxml
Hello,

I am trying to run the python module lxml (in order to run python-docx).  I
can import lxml okay, but whenever I try to import etree from lxml, I get
an ImportError:

ImportError: /usr/lib/x86_64-linux-gnu/libxslt.so.1: symbol xmlBufUse,
version   LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time
reference

Here is my configuration information:
- Python 2.7.6 running with Enthought Canopy.
- Ubuntu 14.04 on VMWare Worstation 10.
- lxml 3.3.5
- libxml2 2.9.1+dfsg1-3ubuntu4
- libxslt1 1.1.28-2build1

It seems that the xslt library is calling for version 2.9.0 of libxml2, but
I'm not sure why, because it appears that 2.9.1 has been out for a while.
I also cannot tell for sure whether this is a problem with lxml, libxslt,
or libxml2.  I posted to the lxml list, and they didn't have any solutions,
so I am now trying xslt.

Any guidance or suggestions would be appreciated!  Thank you!

Thanks,
Scott

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.