Installation of Pyspider under Win7 (64bit)

Source: Internet
Author: User

Want to crawl some pictures on the Internet (you know ...) , but install Pyspider under Windows really laborious, the nonsense does not say much, pastes out to treat the comer.


1. Preparation: Python and pip installation (http://www.tuicool.com/articles/eiM3Er3/)

Note: Python is best to install 32bit, the best default loading C, otherwise there will be a variety of unexpected errors, I will utter.


2, the installation of Pycurl (do not know whether the Internet has this. exe installation file), the console input: Pip install Pycurl


3, install lxml, download link: https://pypi.python.org/pypi/lxml/2.3/

Note: Please select the corresponding version, my python is 2.7.12



4, download Phantomjs and set: http://phantomjs.org/download.html

Note: After downloading, extract to the same root directory as Python



Then add the Phantomjs.exe file path to the environment variable



5, reboot the computer, and then enter in the console: Pip install Pyspider

Note: There is always an error because there is no reboot before. There is also a need to explain, because there are several tutorials, in addition to some of the common installation package, I also installed a numpy-1.11.2+ MKL-CP27-CP27M-WIN32.WHL files and Vcforpython27.msi files, do not know the final success and these two things have no relationship, let's post them to download the link bar: http://www.lfd.uci.edu/~ gohlke/pythonlibs/#numpy

http://www.microsoft.com/en-us/download/details.aspx?id=44266

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.