Wednesday, October 03, 2007

This tutorial teaches you how to install libxml2dom python module on windows machines.

1) Install the latest python package available at python.org
I am using http://python.org/ftp/python/2.5.1/python-2.5.1.msi

2) Install the libxml2 python package available at:
http://users.skynet.be/sbi/libxml-python/libxml2-python-2.6.27.win32-py2.5.exe

3) Download the libxml2dom python package available at:
http://www.boddie.org.uk/python/libxml2dom.html

I am using this version: http://www.boddie.org.uk/python/downloads/libxml2dom-0.4.4.tar.gz

4) You will need a software capable of unpacking .tar.gz files You can use WinRar to unpack it.

5) After unpacking the tar.gz package on your Desktop, open the DOS command prompt (Start->Run "cmd")

6) Then type the following commands on the command prompt:
cd %USERPROFILE%
cd Desktop\libxml2dom-0.4.4
setup.py install
exit