Scrapy Getting Started: Installing Scrapy

Source: Internet
Author: User
Tags mirror website

1. Installing Scrapy

PIP Installation:

pip install scrapy

Requires PIP to be at least 18.1 version, 10.x version will prompt to update pip

Update PIP command:

python -m pip install --upgrade pip  

With pycharm words, directly in the File->setting->python interpreter, point "+" number, select the module to be installed.

Installation module If there is a long waiting situation, you can download and install the domestic mirror website:

Tsinghua Source: Https://pypi.tuna.tsinghua.edu.cn/simple

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple scrapy

2. Test Scrapy

Install it in the CMD to enter the Python environment test:

import scrapy

No error,scrapy module is installed.

Note: Pycharm and your cmd-operated package directory may not be consistent, so use Pycharm to write it in Pycharm.

Well, get ready for work and start building the Scrapy project below.

----------------------------------------------------------I'm a split line---------------------------------------------------------- --

Scrapy Getting Started: Installing Scrapy

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.