<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I want to use the lxml library, but can't get it to work on Windows.<BR><BR>The following will not work:<BR>* import libxml2<BR>* import libxslt<BR>* from lxml import etree<BR><BR>Here's the instructions:<BR><!-- m --><A class=postlink href="http://codespeak.net/lxml/installation.html">http://codespeak.net/lxml/installation.html</A><!-- m --><BR><BR>* So, I run "easy_install lxml" -- that works!<BR>* Now, it says I need to install libxml2 and libxslt... how do I do that?<BR>...so, I download the libxml2 and libxslt pre-built Windows binaries here:<BR><!-- m --><A class=postlink href="http://www.zlatkovic.com/pub/libxml/">http://www.zlatkovic.com/pub/libxml/</A><!-- m --><BR>Now what do I do with them?<BR>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.<BR><BR>What now?                                     <br /><hr />Bing brings you maps, menus, and reviews organized in one place. <a href='http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1' target='_new'>Try it now.</a></body>
</html>