Saved for later reference

online repository of stuff I had to google for hours to figure out

lxml for Python 2.6/win32

Tags: , , , ,

A quick post today: Using these instructions, I’ve built a statically linked lxml 2.2.4 for Windows.

I used the following versions of the libraries:

1
2
3
4
5
6
STATIC_INCLUDE_DIRS = [
"..\\libxml2-2.7.6.win32\\include",
"..\\libxslt-1.1.26.win32\\include",
"..\\zlib-1.2.3.win32\\include",
"..\\iconv-1.9.2.win32\\include"
]
1
2
3
4
5
6
STATIC_LIBRARY_DIRS = [
"..\\libxml2-2.7.6.win32\\lib",
"..\\libxslt-1.1.26.win32\\lib",
"..\\zlib-1.2.3.win32\\lib",
"..\\iconv-1.9.2.win32\\lib"
]

Download it here: lxml-2.2.4.win32-py2.6

  • Share/Bookmark

Tags: , , , ,

2 Responses to “lxml for Python 2.6/win32”


  1. srid
    on Dec 24th, 2009
    @ 06:04

    Or you can use ActivePython to install lxml: http://docs.activestate.com/activepython/2.6/pypm.html


  2. BillyMac
    on Apr 23rd, 2010
    @ 20:02

    Thank-You!
    Trying to get this module for Win-py2.6 has been killin me! I gave up several times and if it weren’t for the fact that I have to have Windows for some stuff I’d just assume stay in Ubuntu. This is such an awesome module, and Fast!

    When I read somewhere about how many people were saying what a pain in the @ss it was, I thought there’s no way, it installed so easily on Ubuntu. Boy was I in for a surprise…lol

    Thanks again really appreciated

Leave a Reply

© 2009 Saved for later reference. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.