Bootstrap

Fatal error in launcher: Unable to create process using 错误解决 以及python3安装scrapy

因为要学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-am

;