Install Pyquery under Windows 7

Source: Internet
Author: User

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.