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