【Python】安装error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools"

pip install Scrapy

-->

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

安装Twisted包来进一步安装Scrapy。

1.首先打开https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted,找到对应版本的Twisted并下载到你的文件夹。此例为Twisted‑17.9.0‑cp36‑cp36m‑win_amd64.whl

2.利用pip install命令安装指定存储路径下的whl文件.

pip install Twisted-17.9.0-cp36-cp36m-win_amd64.whl

安装成功之后继续安装

pip install Scrapy

上一篇:Gym-100451B:Double Towers of Hanoi


下一篇:刷CM7固件 乐padA1-07专用固件