error: Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools终极方案

一、 错误展示

在Windows下的Pycharm使用 pip 安装包,出现 Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”

error: Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools终极方案

大致意思就是缺少一个 C++14.0 以上版本的东西,让你去这个网站获取。
我一步到位,直接给下载传到 CSDN 了。

产生原因:
python3 是用 VC++ 14 编译的, python27 是 VC++ 9 编译的, 安装 python3 的包需要编译的也是要 VC++ 14 以上支持的。

二、 下载文件


error: Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools终极方案

二、安装文件

error: Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools终极方案

安装完成后,再使用 pip 命令下载需要的包就没有报错了。

相关文章: