I also got this problem, but the workarounds provided above are not work for me as well.
Here is my system configuration:
- Win7 64bit
- python3.3
- visual studio 2013
I tried to use the method in the first link in the Related questions, but it’s fail. This method is to create a system variable for vs2010 use, and the variable is actually copy from my original configuration in visual studio 2013.
However, the command line prompted error with “libxml/xmlversion.h” no suck file or directory
Then I further searched it on the internet and got a method which works in my case.
-
downloading the precompiled lxml plugin
Precompiled lxml 3.5: https://pypi.python.org/pypi/lxml/3.3.5#downloads
if your system is 64bit, then you can get a unofficial version for x64 at here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml (this is what i use)
-
installing with command in command line easy_install lxml-3.2.1.win32-py3.3.exe
Reference: https://pytools.codeplex.com/workitem/1520