Install lxml package on Windows 7

Irmen de Jong irmen.NOSPAM at xs4all.nl
Tue May 29 19:24:17 EDT 2012


On 29-5-2012 22:41, David Fanning wrote:
> Folks,
> 
> I need some help. I need the lxml package to run a particular
> Python program. 
> 
>    http://lxml.de/
> 
> I downloaded the appropriate binary egg package for lxml, and
> I found easy_install.exe in my Python 2.7 distribution. I ran
> that.
> 
> Then, at the command prompt I typed this:
> 
>    easy_install --allow-hosts=lxml.de,*.python.org lxml==2.3.4


[..snip..]

Save yourself the pain trying to get it to build from source. Instead, just install a
precompiled binary, for instance the one available from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

-Irmen



More information about the Python-list mailing list