1.
Installing twisted
Direct PIP Install Twisted
and then error.
Error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": Http://landinghub.visualstudio.com/visual-cpp-build-tools -------- --------------------------------Command "C:\users\zb\appdata\local\programs\python\python36-32\python.exe-u-C" Import Setuptools, tokenize;__file__= ' c:\\users\\zb\\appdata\\local\\temp\\pip-build-10ew2ma_\\twisted\\setup.py '; f=getattr (tokenize, ' open ', open) (__file__); Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); Exec (compile (code, __ file__, ' exec ')) "Install--record C:\Users\zb\AppData\Local\Temp\pip-85cixft1-record\install-record.txt-- Single-version-externally-managed--compile "failed with the error code 1 in C:\Users\zb\AppData\Local\Temp\ Pip-build-10ew2ma_\twistedyou is using the PIP version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the ' python-m pip install--upgrade pip ' command.
Last sentence elevation Let's upgrade Pip, then run python-m pip install--upgrade pip run
At this time we successfully upgraded the PIP. Then reinstall PIP install twisted after running to see the following error occurred
Building ' twisted.test.raiser ' extension error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
The literal meaning to see needs to be installed Microsoft Visual C + + 14.0, but this thing is very cumbersome to install, and it is not necessarily accurate to install, this time, we generally consider the third-party Python module installation package
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Then search twisted, download the corresponding version, Cp36 is the python3.6x version, Win32 refers to the number of Python bits, cmd input python view python version, here i download the blue x below
Https://download.lfd.uci.edu/pythonlibs/t5yhk4lc/Twisted-18.4.0-cp36-cp36m-win32.whl
Windows installation Scrapy