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
Similar Posts:
- cleartext http traffic to 192.168.1.106 not permitted
- bash :startx command not found
- Completely solve MySQL error: 1030, ‘got error 28 from storage engine’
- Failed building wheel for Twisted
- Solve the security check error similar to error c4996: ‘scanf’: this function or variable may be unsafe in vs2019
- AttributeError: module ‘tensorflow’ has no attribute ‘Session’
- Troubleshooting the installation of twisted
- java.io.IOException: Server returned HTTP response code: 405 for URL:
- linux pip3 is not found
- [Solved] Centos6: Python 2.6 upgrade to 3.7, error handling [no module named ‘_ctypes’]