Tag Archives: python pip

Python PIP installs scrapy with an error of twisted

Scrapy relies on the following packages:
lxml: an efficient XML and HTML parser
w3lib: a multifunctional assistant for handling URL and web page coding
twisted: an asynchronous network framework
cryptography and pyopenssl: handling various network level security requirements
——————
1. Run PIP security first Install PIP install scrape
2. After the installation, except for the error twisted, the other dependent packages should be installed

Then download twisted by yourself. Note: it should correspond to your Python version number and the number of digits of the computer system
I use Python 37 and the system is 64 bits
https://www.lfd.uci.edu/ ~gohlke/pythonlibs/

3. After downloading, install pip. PIP install [file path] \ twisted-18.9.0-cp37-cp37m-win_AMD64. WHL
4. Run the PIP installation of scripy again for the last time to install successfully

——————
copyright notice: This article is the original article of CSDN blogger “Sagittarius 32”, which follows the CC 4.0 by-sa copyright agreement. Please attach the source link of the original text and this notice for reprint
original link: https://blog.csdn.net/sagittarius32/article/details/85345142