Original: http://blog.csdn.net/zhaokuo719/article/details/8209496
Installing lxml python in a Windows environment
1, first of all to ensure that your Python environment installation perfect
2. Download the http://peak.telecommunity.com/dist/ez_setup.py file to the computer
3. Open run cmd execution: Python ez_setup.py
4, the installation is complete, the PATH environment variable inside add paths: such as: E:\python27\Scripts (E:\python27 is the Python installation path)
5. Cmd execution:easy_install virtualenv
6. Download lxml file: http://pypi.python.org/pypi/lxml/2.3/
7, cmd execution easy_install (file path) \lxml-2.3.py2.7.win32.egg
8. using Pydev as the IDE tool, if the module is installed after the import of new modules error prompt error, in fact, the operation is normal, but you can not use the module's prompt function, as long as the python can be reloaded once.
Window--Preferences--PyDev-Interperter-python
Take the original remove and then new one.
Python notes: Installing Python lxml under Windows