导读:


本文章同时解决了两个问题。


问题1: 【 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“:_开发语言

问题2:【ERROR: Command errored out with exit status 1:】

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_microsoft_02

解决方案

直接去下载即可:【https://visualstudio.microsoft.com/visual-cpp-build-tools/】

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_开发语言_03

点击下载后稍等一会就会出现下载。

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_python_04 

下载完成后直接安装。 

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_开发语言_05

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_microsoft_06

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_解决方案_07 安装完成

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_microsoft_08

 再次执行测试

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts==0.5.10

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_解决方案_09

等待大概1分钟后安装完成

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:_开发语言_10 OK,问题解决。