因为要学scrapy
特意在电脑安装了python2和python3
在python3下安装scrapy时报错
D:\python3\Scripts>pip3.6.exe install scrapy
Fatal error in launcher: Unable to create process using
想了想 突生妙计
解决办法:
D:\python3\Scripts>python3 pip3.6.exe install scrapy
成功下载
D:\python3\Scripts>python3 pip3.6.exe install scrapy
Collecting scrapy
Downloading Scrapy-1.4.0-py2.py3-none-any.whl (248kB)
100% |████████████████████████████████| 256kB 61kB/s
Collecting pyOpenSSL (from scrapy)
Downloading pyOpenSSL-17.5.0-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 28kB/s
Collecting parsel>=1.1 (from scrapy)
Downloading parsel-1.2.0-py2.py3-none-any.whl
Collecting queuelib (from scrapy)
Downloading queuelib-1.4.2-py2.py3-none-any.whl
Collecting lxml (from scrapy)
Downloading lxml-4.1.1-cp36-cp36m-win_amd64.whl (3.5MB)
36% |███████████▊ | 1.3MB 20kB/s eta 0:01:52
此时后面会报错
D:\python3\Scripts>python3 pip3.6.exe install scrapy
Collecting scrapy
Downloading Scrapy-1.4.0-py2.py3-none-any.whl (248kB)
100% |████████████████████████████████| 256kB 61kB/s
Collecting pyOpenSSL (from scrapy)
Downloading pyOpenSSL-17.5.0-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 28kB/s
Collecting parsel>=1.1 (from scrapy)
Downloading parsel-1.2.0-py2.py3-none-any.whl
Collecting queuelib (from scrapy)
Downloading queuelib-1.4.2-py2.py3-none-any.whl
Collecting lxml (from scrapy)
Downloading lxml-4.1.1-cp36-cp36m-win_amd64.whl (3.5MB)
100% |████████████████████████████████| 3.6MB 13kB/s
Collecting six>=1.5.2 (from scrapy)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting w3lib>=1.17.0 (from scrapy)
Downloading w3lib-1.18.0-py2.py3-none-any.whl
Collecting service-identity (from scrapy)
Downloading service_identity-17.0.0-py2.py3-none-any.whl
Collecting PyDispatcher>=2.0.5 (from scrapy)
Downloading PyDispatcher-2.0.5.tar.gz
Collecting Twisted>=13.1.0 (from scrapy)
Downloading Twisted-17.9.0.tar.bz2 (3.0MB)
100% |████████████████████████████████| 3.0MB 23kB/s
Collecting cssselect>=0.9 (from scrapy)
Using cached cssselect-1.0.1-py2.py3-none-any.whl
Collecting cryptography>=2.1.4 (from pyOpenSSL->scrapy)
Downloading cryptography-2.1.4-cp36-cp36m-win_amd64.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 18kB/s
Collecting pyasn1 (from service-identity->scrapy)
Downloading pyasn1-0.4.2-py2.py3-none-any.whl (71kB)
100% |████████████████████████████████| 71kB 19kB/s
Collecting pyasn1-modules (from service-identity->scrapy)
Downloading pyasn1_modules-0.2.1-py2.py3-none-any.whl (60kB)
100% |████████████████████████████████| 61kB 9.9kB/s
Collecting attrs (from service-identity->scrapy)
Downloading attrs-17.3.0-py2.py3-none-any.whl
Collecting zope.interface>=4.0.2 (from Twisted>=13.1.0->scrapy)
Downloading zope.interface-4.4.3-cp36-cp36m-win_amd64.whl (139kB)
100% |████████████████████████████████| 143kB 11kB/s
Collecting constantly>=15.1 (from Twisted>=13.1.0->scrapy)
Downloading constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from Twisted>=13.1.0->scrapy)
Downloading incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from Twisted>=13.1.0->scrapy)
Downloading Automat-0.6.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from Twisted>=13.1.0->scrapy)
Downloading hyperlink-17.3.1-py2.py3-none-any.whl (73kB)
100% |████████████████████████████████| 81kB 14kB/s
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Downloading cffi-1.11.2-cp36-cp36m-win_amd64.whl (166kB)
100% |████████████████████████████████| 174kB 25kB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Downloading asn1crypto-0.23.0-py2.py3-none-any.whl (99kB)
100% |████████████████████████████████| 102kB 11kB/s
Collecting idna>=2.1 (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Downloading idna-2.6-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 13kB/s
Requirement already satisfied: setuptools in d:\python3\lib\site-packages (from zope.interface>=4.0.2->Twisted>=13.1.0->scrapy)
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=2.1.4->pyOpenSSL->scrapy)
Downloading pycparser-2.18.tar.gz (245kB)
100% |████████████████████████████████| 256kB 13kB/s
Installing collected packages: six, pycparser, cffi, asn1crypto, idna, cryptography, pyOpenSSL, lxml, w3lib, cssselect, parsel, queuelib, pyasn1, pyasn1-modules, attrs, service-identity, PyDispatcher, zope.interface, constantly, incremental, Automat, hyperlink, Twisted, scrapy
Running setup.py install for pycparser ... done
Running setup.py install for PyDispatcher ... done
Running setup.py install for Twisted ... error
Complete output from command D:\python3\python3.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-build-cq0uoexu\\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\ADMINI~1\AppData\Local\Temp\pip-ju4z7lot-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\twisted
copying src\twisted\copyright.py -> build\lib.win-amd64-3.6\twisted
copying src\twisted\plugin.py -> build\lib.win-amd64-3.6\twisted
copying src\twisted\_version.py -> build\lib.win-amd64-3.6\twisted
copying src\twisted\__init__.py -> build\lib.win-amd64-3.6\twisted
copying src\twisted\__main__.py -> build\lib.win-amd64-3.6\twisted
creating build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\app.py -> build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\internet.py -> build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\reactors.py -> build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\service.py -> build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\strports.py -> build\lib.win-amd64-3.6\twisted\application
copying src\twisted\application\__init__.py -> build\lib.win-amd64-3.6\twisted\application
creating build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\avatar.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\checkers.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\endpoints.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\error.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\interfaces.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\ls.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\manhole.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\manhole_ssh.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\manhole_tap.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\mixin.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\recvline.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\stdio.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\tap.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\telnet.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\ttymodes.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\unix.py -> build\lib.win-amd64-3.6\twisted\conch
copying src\twisted\conch\__init__.py -> build\lib.win-amd64-3.6\twisted\conch
creating build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\checkers.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\credentials.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\error.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\portal.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\strcred.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\_digest.py -> build\lib.win-amd64-3.6\twisted\cred
copying src\twisted\cred\__init__.py -> build\lib.win-amd64-3.6\twisted\cred
creating build\lib.win-amd64-3.6\twisted\enterprise
copying src\twisted\enterprise\adbapi.py -> build\lib.win-amd64-3.6\twisted\enterprise
copying src\twisted\enterprise\__init__.py -> build\lib.win-amd64-3.6\twisted\enterprise
creating build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\abstract.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\address.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\asyncioreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\base.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\cfreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\default.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\defer.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\endpoints.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\epollreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\error.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\fdesc.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\gireactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\glib2reactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\gtk2reactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\gtk3reactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\inotify.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\interfaces.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\kqreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\main.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\pollreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\posixbase.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\process.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\protocol.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\pyuisupport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\reactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\selectreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\serialport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\ssl.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\stdio.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\task.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\tcp.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\threads.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\tksupport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\udp.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\unix.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\utils.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\win32eventreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\wxreactor.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\wxsupport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_baseprocess.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_dumbwin32proc.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_glibbase.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_idna.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_newtls.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_pollingfile.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_posixserialport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_posixstdio.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_producer_helpers.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_resolver.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_signals.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_sslverify.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_threadedselect.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_win32serialport.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\_win32stdio.py -> build\lib.win-amd64-3.6\twisted\internet
copying src\twisted\internet\__init__.py -> build\lib.win-amd64-3.6\twisted\internet
creating build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_buffer.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_file.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_filter.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_flatten.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_format.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_global.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_io.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_json.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_legacy.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_levels.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_logger.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_observer.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_stdlib.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\_util.py -> build\lib.win-amd64-3.6\twisted\logger
copying src\twisted\logger\__init__.py -> build\lib.win-amd64-3.6\twisted\logger
creating build\lib.win-amd64-3.6\twisted\mail
copying src\twisted\mail\imap4.py -> build\lib.win-amd64-3.6\twisted\mail
copying src\twisted\mail\interfaces.py -> build\lib.win-amd64-3.6\twisted\mail
copying src\twisted\mail\smtp.py -> build\lib.win-amd64-3.6\twisted\mail
copying src\twisted\mail\_cred.py -> build\lib.win-amd64-3.6\twisted\mail
copying src\twisted\mail\_except.py -> build\lib.win-amd64-3.6\twisted\mail
creating build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\authority.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\cache.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\client.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\common.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\dns.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\error.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\hosts.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\resolve.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\root.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\secondary.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\server.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\srvconnect.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\tap.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\_rfc1982.py -> build\lib.win-amd64-3.6\twisted\names
copying src\twisted\names\__init__.py -> build\lib.win-amd64-3.6\twisted\names
creating build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\ethernet.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\ip.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\raw.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\rawudp.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\testing.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\tuntap.py -> build\lib.win-amd64-3.6\twisted\pair
copying src\twisted\pair\__init__.py -> build\lib.win-amd64-3.6\twisted\pair
creating build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\aot.py -> build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\crefutil.py -> build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\dirdbm.py -> build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\sob.py -> build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\styles.py -> build\lib.win-amd64-3.6\twisted\persisted
copying src\twisted\persisted\__init__.py -> build\lib.win-amd64-3.6\twisted\persisted
creating build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\cred_anonymous.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\cred_file.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\cred_memory.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\cred_sshkeys.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\cred_unix.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_conch.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_core.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_ftp.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_inet.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_names.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_portforward.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_reactors.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_runner.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_socks.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_trial.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_web.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\twisted_words.py -> build\lib.win-amd64-3.6\twisted\plugins
copying src\twisted\plugins\__init__.py -> build\lib.win-amd64-3.6\twisted\plugins
creating build\lib.win-amd64-3.6\twisted\positioning
copying src\twisted\positioning\base.py -> build\lib.win-amd64-3.6\twisted\positioning
copying src\twisted\positioning\ipositioning.py -> build\lib.win-amd64-3.6\twisted\positioning
copying src\twisted\positioning\nmea.py -> build\lib.win-amd64-3.6\twisted\positioning
copying src\twisted\positioning\_sentence.py -> build\lib.win-amd64-3.6\twisted\positioning
copying src\twisted\positioning\__init__.py -> build\lib.win-amd64-3.6\twisted\positioning
creating build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\amp.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\basic.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\dict.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\finger.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\ftp.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\htb.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\ident.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\loopback.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\memcache.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\pcp.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\policies.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\portforward.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\postfix.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\sip.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\socks.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\stateful.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\tls.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\wire.py -> build\lib.win-amd64-3.6\twisted\protocols
copying src\twisted\protocols\__init__.py -> build\lib.win-amd64-3.6\twisted\protocols
creating build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\compat.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\components.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\constants.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\context.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\deprecate.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\failure.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\fakepwd.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\filepath.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\formmethod.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\htmlizer.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\lockfile.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\log.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\logfile.py -> build\lib.win-amd64-3.6\twisted\python
copying src\twisted\python\modules.py -> build\lib.win-amd64-3.6\twisted\python
解决办法:
先下载Twisted 下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
下载合适的即可 我的下载在D盘根目录
然后下载后 输入
https://www.lfd.uci.edu/~gohlke/pythonlibs/
D:\python3\Scripts>python3 pip3.6.exe install D:\Twisted-17.9.0-cp36-cp36m-win_amd64.whl
Processing d:\twisted-17.9.0-cp36-cp36m-win_amd64.whl
Requirement already satisfied: zope.interface>=4.0.2 in d:\python3\lib\site-packages (from Twisted==17.9.0)
Requirement already satisfied: Automat>=0.3.0 in d:\python3\lib\site-packages (from Twisted==17.9.0)
Requirement already satisfied: incremental>=16.10.1 in d:\python3\lib\site-packages (from Twisted==17.9.0)
Requirement already satisfied: hyperlink>=17.1.1 in d:\python3\lib\site-packages (from Twisted==17.9.0)
Requirement already satisfied: constantly>=15.1 in d:\python3\lib\site-packages (from Twisted==17.9.0)
Requirement already satisfied: setuptools in d:\python3\lib\site-packages (from zope.interface>=4.0.2->Twisted==17.9.0)
Requirement already satisfied: six in d:\python3\lib\site-packages (from Automat>=0.3.0->Twisted==17.9.0)
Requirement already satisfied: attrs in d:\python3\lib\site-packages (from Automat>=0.3.0->Twisted==17.9.0)
Installing collected packages: Twisted
Successfully installed Twisted-17.9.0
最后执行
D:\python3\Scripts>python3 pip3.6.exe install scrapy
Collecting scrapy
Using cached Scrapy-1.4.0-py2.py3-none-any.whl
Requirement already satisfied: queuelib in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: pyOpenSSL in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: lxml in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: w3lib>=1.17.0 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: Twisted>=13.1.0 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: PyDispatcher>=2.0.5 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: service-identity in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: six>=1.5.2 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: parsel>=1.1 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: cssselect>=0.9 in d:\python3\lib\site-packages (from scrapy)
Requirement already satisfied: cryptography>=2.1.4 in d:\python3\lib\site-packages (from pyOpenSSL->scrapy)
Requirement already satisfied: Automat>=0.3.0 in d:\python3\lib\site-packages (from Twisted>=13.1.0->scrapy)
Requirement already satisfied: hyperlink>=17.1.1 in d:\python3\lib\site-packages (from Twisted>=13.1.0->scrapy)
Requirement already satisfied: incremental>=16.10.1 in d:\python3\lib\site-packages (from Twisted>=13.1.0->scrapy)
Requirement already satisfied: zope.interface>=4.0.2 in d:\python3\lib\site-packages (from Twisted>=13.1.0->scrapy)
Requirement already satisfied: constantly>=15.1 in d:\python3\lib\site-packages (from Twisted>=13.1.0->scrapy)
Requirement already satisfied: pyasn1 in d:\python3\lib\site-packages (from service-identity->scrapy)
Requirement already satisfied: attrs in d:\python3\lib\site-packages (from service-identity->scrapy)
Requirement already satisfied: pyasn1-modules in d:\python3\lib\site-packages (from service-identity->scrapy)
Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in d:\python3\lib\site-packages (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Requirement already satisfied: asn1crypto>=0.21.0 in d:\python3\lib\site-packages (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Requirement already satisfied: idna>=2.1 in d:\python3\lib\site-packages (from cryptography>=2.1.4->pyOpenSSL->scrapy)
Requirement already satisfied: setuptools in d:\python3\lib\site-packages (from zope.interface>=4.0.2->Twisted>=13.1.0->scrapy)
Requirement already satisfied: pycparser in d:\python3\lib\site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=2.1.4->pyOpenSSL->scrapy)
Installing collected packages: scrapy
Successfully installed scrapy-1.4.0
D:\python3\Scripts>^X