How do I install libxml2 and libxslt?

Kevin Ar18 kevinar18 at hotmail.com
Mon Nov 2 16:41:18 CET 2009


I want to use the lxml library, but can't get it to work on Windows.

The following will not work:
* import libxml2
* import libxslt
* from lxml import etree

Here's the instructions:
http://codespeak.net/lxml/installation.html

* So, I run "easy_install lxml" -- that works!
* Now, it says I need to install libxml2 and libxslt... how do I do that?
...so, I download the libxml2 and libxslt pre-built Windows binaries here:
http://www.zlatkovic.com/pub/libxml/
Now what do I do with them?
I opened the zip files and copied the bin directories to Python\Lib ... like this: Python\Lib\libxml2\libxml2.dll ... that doesn't work. I copy just dll to Python\DLLs ... that doesn't work.

What now? 		 	   		  
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091102/a4d109d8/attachment.html>


More information about the Python-list mailing list