Python scrapy Installation

Source: Internet
Author: User

Direct installation of scrapy various errors, and then all kinds of Baidu finally solved, as follows is a personal experience.

Pip Install Scrapy   

This will directly cause an error.

The first step:

Install Wheel First

Pip Install Wheel

Step Two:

Install Twiste, pre-download good TWISTED-17.9.0-CP36-CP36M-WIN32.WHL, I use 32 bit, switch to twisted path installation, this has http://www.lfd.uci.edu/~gohlke/pythonlibs/

Step Three:

Install lxml, scrapy dependent lxml package

Fourth Step:

Install Scrapy, in advance to download the good, SCRAPY-1.4.0-PY2.PY3-NONE-ANY.WHL, also switch to the file where the path is installed

A long string of code will be blown over, incredibly successful, haha

So is there any success in that particular?

Test it.

Scrapy-h

Lying trough, really successful, good to coding it.

Good things to share, so that the back of the small partners to go a little detour.

Python scrapy Installation

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.