通过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文件,安装就可以了