在windows下如何安装lxml的python包

通过pip安装:

1. install easy_install

download file from http://python-distribute.org/distribute_setup.py
python.exe distribute_setup.py
2. install pip
download file from https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python.exe get-pip.py
after install pip, the path is C:\Python27\Scripts\pip.exe
3. install lxml

pip.exe install lxml

自己下载exe安装:

https://pypi.python.org/pypi/lxml/2.3 下载exe文件,安装就可以了