天天看點

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": ht

安裝scrapy報錯,在Twisted安裝部分

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": ht

解決方案

通過在https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted,然後下載下傳:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": ht

CP後是python 版本,32或者64是windows版本

我使用的Python3.7,win7 64位,win+r,cmd,跳轉檔案儲存目錄下執行 

pip install Twisted‑18.9.0‑cp37‑cp37m‑win_amd64.whl

成功後繼續pip install scrapy即可

繼續閱讀