Most of the information you see on the Internet is installed under Linux, not for Windows. After efforts to find relevant information, many failures after the installation completed. Special Notes
Recorded below.
* Install Python, recommend installation 2.6
Run Python-2.6.msi
* Install Setuptools
Run Setuptools-0.6c11.win32-py2.6.exe
Unlike Linux,windows, it is recommended that you install a compiled version, or you will fail.
* environment variable path increase paths:
C:\Python26; C:\Python\Scripts
* Install lxml
Reference: Http://blog.sina.com.cn/s/blog_641289eb0100yf84.html and http://lxml.de/installation.html
Run Easy_install--allow-hosts=lxml.de,*.python.org lxml==2.2.2
parameter is important, otherwise it will be an error. This step takes the most time to see the above reference material to be resolved.
* Install Pyquery
Run Easy_install Pyquery
* Installation Completed
You can learn from the following websites
Http://packages.python.org/pyquery/index.html
http://www.geoinformatics.cn/lab/pyquery/