[Python] Crawler scrapy environment construction, full of details

twisted download and installation

URL: https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted

Twisted-20.3.0-cp37-cp37m-win_amd64.whl

cp37 means python 3.7, amd64 means the number of python 64 bits

py -0p View Python version, number, and installation location

WARNING: You are using pip version 20.3.3; however, version 22.2.2 is availa

Reason: pip needs to be upgraded. Open cmd, enter the command  python.exe -m pip install --upgrade pip, and wait for the update to download.

pip show pip command to view the current version

scrapy download installation environment configuration

pip install scrapy

Use python to view the scrapy installation path and configure environment variables

 

 Note: If it still cannot run, uninstall scrapy   pip uninstall scrapy  and then  pip install scrapy to reinstall and configure scrapy.  

Guess you like

Origin blog.csdn.net/xudahai513/article/details/126762893