python pip install scrapy的錯誤

Command "g:\envs\py3scrapy\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-qw87a38s\\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-record-dakddo1o\install-record.txt --single-version-externally-managed --compile --install-headers g:\envs\py3scrapy\include\site\python3.5\Twisted" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-qw87a38s\Twisted\



安裝scrapy需要的依賴庫有這些:Twisted ,lxml ,pyOpenSSL,wheel

                      我的電腦上直接pip install Twisted 也不好使,

                       進https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted下載後,本地安裝(在對應Twisted文件目錄下用pip install 完整名稱加後綴.whl的Twisted文件)即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章