Easy_install Lxml On Python 2.7 On Windows
Solution 1:
lxml >= 3.x.x
- download one of the MS Windows Installer packages
easy_install "c:/lxml_installer.exe"
(credit kobejohn)
MS Windows Installer downloads available for lxml 3.3.5
a list of all binary/egg lxml package downloads.
lxml 2.3.x there is no windows binary egg for lxml 2.3.3 (2.3.0 is the latest from 2.x.x). without giving a version number easy_install will download the latest sources, but you dont have the libxml2 and libxslt installed.
you could install the missing libs or you could try the 2.3 as there are binary eggs for windows:
easy_install lxml==2.3
Solution 2:
you can download Unofficial Windows Binaries at: http://www.lfd.uci.edu/~gohlke/pythonlibs/
e.g. for python 2.7 32bit: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
It is the easiest way in win32.
Solution 3:
I ran into the same problem. I don't know about the vcvarsall.bat issue but if you just want to install lxml you can use the graphical installers here:
https://pypi.python.org/pypi/lxml/3.2.3
That worked for me.
Solution 4:
The ideal solution (which also works within virtual environments) has been provided here.
Basically, it comes down to downloading a fitting wheel file from here (the "cp" in the filename stands for your Python version) and then simply pip install
ing it.
It works on my (virtualenv) installation of Python3.3 on Windows 7 64-bit.
Solution 5:
You can also use anaconda. Once you have it installed (http://continuum.io/downloads) you can just run conda install lxml
to install lxml.
Post a Comment for "Easy_install Lxml On Python 2.7 On Windows"