I need to install lxml, but it fails. I install it with: pip install lxml. I have Python 3.4 installed on a Windows 7, x64 computer. I have Visual Studio 2010 installed as required by Python 3.4.
I get this error message:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo
/Ox /MD /W3 /GS- /DNDEBUG -Ic:\users\ashhab\appdata\local\temp\pip-build-0r0v7a
\lxml\src\lxml\includes -IC:\Python33\include -IC:\Python33\include /Tcsrc\lxml\
lxml.etree.c /Fobuild\temp.win32-3.3\Release\src\lxml\lxml.etree.obj -w
cl : Command line warning D9025 : overriding '/W3' with '/w'
tree_defs.h(14) : fatal error C1083: Cannot open include file: 'libxml/xmlversio
n.h': No such file or directory
C:\Python33\lib\distutils\dist.py:258: UserWarning: Unknown distribution opt
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\
cl.exe"' failed with exit status 2
Can someone help me to install lxml in Windows 7?