安裝scrapy失敗
C:\WINDOWS\system32>pip install scrapy
Collecting scrapy
Downloading https://files.pythonhosted.org/packages/5d/12/a6197eaf97385e96fd8ec56627749a6229a9b3178ad73866a0b1fb377379/Scrapy-1.5.1-py2.py3-none-any.whl (249kB)
100% |████████████████████████████████| 256kB 621kB/s
Collecting w3lib>=1.17.0 (from scrapy)
Downloading https://files.pythonhosted.org/packages/37/94/40c93ad0cadac0f8cb729e1668823c71532fd4a7361b141aec535acb68e3/w3lib-1.19.0-py2.py3-none-any.whl
Collecting parsel>=1.1 (from scrapy)
Downloading https://files.pythonhosted.org/packages/fd/1a/9642a5ea68763d5e7c419df0873073e54bb23d0a8897d3c78e146dd6f355/parsel-1.5.0-py2.py3-none-any.whl
Collecting PyDispatcher>=2.0.5 (from scrapy)
Downloading https://files.pythonhosted.org/packages/cd/37/39aca520918ce1935bea9c356bcbb7ed7e52ad4e31bff9b943dfc8e7115b/PyDispatcher-2.0.5.tar.gz
Collecting pyOpenSSL (from scrapy)
Downloading https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 2.0MB/s
Collecting cssselect>=0.9 (from scrapy)
Downloading https://files.pythonhosted.org/packages/7b/44/25b7283e50585f0b4156960691d951b05d061abf4a714078393e51929b30/cssselect-1.0.3-py2.py3-none-any.whl
Collecting queuelib (from scrapy)
Downloading https://files.pythonhosted.org/packages/4c/85/ae64e9145f39dd6d14f8af3fa809a270ef3729f3b90b3c0cf5aa242ab0d4/queuelib-1.5.0-py2.py3-none-any.whl
Collecting Twisted>=13.1.0 (from scrapy)
Downloading https://files.pythonhosted.org/packages/90/50/4c315ce5d119f67189d1819629cae7908ca0b0a6c572980df5cc6942bc22/Twisted-18.7.0.tar.bz2 (3.1MB)
100% |████████████████████████████████| 3.1MB 596kB/s
Collecting six>=1.5.2 (from scrapy)
Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting lxml (from scrapy)
Downloading https://files.pythonhosted.org/packages/54/a6/43be8cf1cc23e3fa208cab04ba2f9c3b7af0233aab32af6b5089122b44cd/lxml-4.2.3.tar.gz (4.4MB)
100% |████████████████████████████████| 4.4MB 82kB/s
Collecting service-identity (from scrapy)
Downloading https://files.pythonhosted.org/packages/29/fa/995e364220979e577e7ca232440961db0bf996b6edaf586a7d1bd14d81f1/service_identity-17.0.0-py2.py3-none-any.whl
Collecting cryptography>=2.2.1 (from pyOpenSSL->scrapy)
Downloading https://files.pythonhosted.org/packages/10/d2/6299adf570bca11cd241a2fceb40d397931e54dabbf7d7e945feda9c2393/cryptography-2.3-cp37-cp37m-win_amd64.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 695kB/s
Collecting zope.interface>=4.4.2 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/ac/8a/657532df378c2cd2a1fe6b12be3b4097521570769d4852ec02c24bd3594e/zope.interface-4.5.0.tar.gz (151kB)
100% |████████████████████████████████| 153kB 573kB/s
Collecting constantly>=15.1 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/a7/b6/84d0c863ff81e8e7de87cff3bd8fd8f1054c227ce09af1b679a8b17a9274/hyperlink-18.0.0-py2.py3-none-any.whl
Collecting PyHamcrest>=1.9.0 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
100% |████████████████████████████████| 61kB 721kB/s
Collecting attrs>=17.4.0 (from Twisted>=13.1.0->scrapy)
Downloading https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl
Collecting pyasn1 (from service-identity->scrapy)
Downloading https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl (72kB)
100% |████████████████████████████████| 81kB 1.3MB/s
Collecting pyasn1-modules (from service-identity->scrapy)
Downloading https://files.pythonhosted.org/packages/19/02/fa63f7ba30a0d7b925ca29d034510fc1ffde53264b71b4155022ddf3ab5d/pyasn1_modules-0.2.2-py2.py3-none-any.whl (62kB)
100% |████████████████████████████████| 71kB 1.2MB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=2.2.1->pyOpenSSL->scrapy)
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
100% |████████████████████████████████| 102kB 1.1MB/s
Requirement already satisfied: idna>=2.1 in d:\my_software\python37\lib\site-packages (from cryptography>=2.2.1->pyOpenSSL->scrapy) (2.7)
Collecting cffi!=1.11.3,>=1.7 (from cryptography>=2.2.1->pyOpenSSL->scrapy)
Downloading https://files.pythonhosted.org/packages/ca/f2/e375b7469a2dfe9d1feac81a10df97f18cd771b9a10ac62ca9864b760f7c/cffi-1.11.5-cp37-cp37m-win_amd64.whl (165kB)
100% |████████████████████████████████| 174kB 1.1MB/s
Requirement already satisfied: setuptools in d:\my_software\python37\lib\site-packages (from zope.interface>=4.4.2->Twisted>=13.1.0->scrapy) (39.0.1)
Collecting pycparser (from cffi!=1.11.3,>=1.7->cryptography>=2.2.1->pyOpenSSL->scrapy)
Downloading https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz (245kB)
100% |████████████████████████████████| 256kB 1.3MB/s
Installing collected packages: six, w3lib, lxml, cssselect, parsel, PyDispatcher, asn1crypto, pycparser, cffi, cryptography, pyOpenSSL, queuelib, zope.interface, constantly, incremental, attrs, Automat, hyperlink, PyHamcrest, Twisted, pyasn1, pyasn1-modules, service-identity, scrapy
Running setup.py install for lxml … error
Complete output from command d:\my_software\python37\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\BIT112~1\AppData\Local\Temp\pip-install-4zfeqbti\lxml\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\BIT112~1\AppData\Local\Temp\pip-record-bw58hvmj\install-record.txt --single-version-externally-managed --compile:
Building lxml version 4.2.3.
Building without Cython.
ERROR: b"‘xslt-config’ \xb2\xbb\xca\xc7\xc4\xda\xb2\xbf\xbb\xf2\xcd\xe2\xb2\xbf\xc3\xfc\xc1\xee\xa3\xac\xd2\xb2\xb2\xbb\xca\xc7\xbf\xc9\xd4\xcb\xd0\xd0\xb5\xc4\xb3\xcc\xd0\xf2\r\n\xbb\xf2\xc5\xfa\xb4\xa6\xc0\xed\xce\xc4\xbc\xfe\xa1\xa3\r\n"
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\_elementpath.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\__init__.py -> build\lib.win-amd64-3.7\lxml
creating build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\__init__.py -> build\lib.win-amd64-3.7\lxml\includes
creating build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_diffcommand.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_html5builder.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_setmixin.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\__init__.py -> build\lib.win-amd64-3.7\lxml\html
creating build\lib.win-amd64-3.7\lxml\isoschematron
copying src\lxml\isoschematron\__init__.py -> build\lib.win-amd64-3.7\lxml\isoschematron
copying src\lxml\etree.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\etree_api.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\__init__.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.7\lxml\includes
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' 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
----------------------------------------
Command “d:\my_software\python37\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\BIT112~1\AppData\Local\Temp\pip-install-4zfeqbti\lxml\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\BIT112~1\AppData\Local\Temp\pip-record-bw58hvmj\install-record.txt --single-version-externally-managed --compile” failed with error code 1 in C:\Users\BIT112~1\AppData\Local\Temp\pip-install-4zfeqbti\lxml\
相關文章
- pip 安裝 selenium 失敗
- matplotlib 安裝失敗,求解!
- 安裝失敗(Installing failed)AI
- VCSA6.7 安裝失敗
- python 安裝 pyinstaller 失敗 ReadTimeoutErrorPythonError
- Jenkins外掛安裝失敗Jenkins
- python安裝失敗,改下源Python
- HomeBrew 安裝 yarn 1.6.0 版本失敗Yarn
- npm安裝失敗解決方案NPM
- python安裝 fbprophet 提示gcc失敗PythonGC
- MSMQ 觸發器 安裝失敗MQ觸發器
- 安裝anaconda提示建立menu失敗
- anaconda安裝失敗解決方法
- Session 'app': Error Launching activity(安裝包安裝失敗)SessionAPPError
- 【Python】pydot安裝失敗解決方法Python
- npm install安裝失敗解決方法NPM
- node-sass安裝失敗暴力方法
- [提問交流]安裝失敗IS_POST
- 解決Wireshark安裝Npcap元件失敗PCA元件
- oracle安裝呼叫圖形化失敗Oracle
- puppeteer 安裝失敗的解決辦法
- Arch linux下安裝bochs失敗解決Linux
- 使用pip install mysqlclient命令安裝mysqlclient失敗?MySqlclient
- Composer doctrine/dbal 2.0 安裝失敗問題
- python3.7安裝robotframework-excellibrary失敗PythonFrameworkExcel
- 寶塔php編譯安裝fileinfo失敗PHP編譯
- mongodb安裝失敗如何徹底刪除MongoDB
- python的django安裝失敗如何處理PythonDjango
- 解決pytorch-gpu 安裝失敗方案PyTorchGPU
- jwt安裝失敗,求大佬指導下JWT
- KB5034441安裝失敗,正在安裝0%,不能繼續更新
- Ubuntu 安裝 SCRAPY 方法Ubuntu
- win10字型安裝失敗如何解決_win10安裝字型失敗的修復步驟Win10
- win10 mcgs 7.7.1.7程式安裝失敗怎麼辦_win10 mcgs 7.7.1.7程式安裝失敗如何解決Win10
- win10系統realtek安裝失敗如何處理 win10電腦安裝realtek失敗修復方法Win10
- win10新字型安裝失敗怎麼辦 win10電腦安裝新字型失敗解決方法Win10
- win10商店安裝失敗怎麼辦 win10微軟商店點選安裝失敗修復方法Win10微軟
- idea漢化包安裝失敗解決方法Idea