即使安装了 Microsoft Visual C++ 14.0 也会出现 Pip 错误 [英] Pip error even Microsoft Visual C++ 14.0 is installed
问题描述
我阅读了之前相关或问过的所有问题和答案,但仍然没有找到适合我的问题的答案.
I read all of the questions and answers which are related or asked before and I still didn't find an appropriate answer to my problem.
我使用的是 python 3.6.5 并且 pip(和 setuptools)是最新的.我从这里安装了 Microsoft Visual C++ Redistributable for Visual Studio 2017:https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
I am using python 3.6.5 and pip(and setuptools) is up to date. I am installed Microsoft Visual C++ Redistributable for Visual Studio 2017 from here: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
使用 pip install 时,我仍然收到错误:
when using pip install, I still get the error:
需要 Microsoft Visual C++
Microsoft Visual C++ is required
PS:我想安装气流
推荐答案
此问题已在安装了 Visual Studio Community 2017 v15.5.2 和 Visual Studio Installer v1.16.1247.518 的计算机上解决.
This problem was solved on a computer having Visual Studio Community 2017 v15.5.2 and the Visual Studio Installer v1.16.1247.518 installed.
使用的步骤如下:
- 启动 Visual Studio 安装程序
- Visual Studio 安装程序显示了一个已安装的部分,说明 VisualStudio Community 2017.在该部分中有一个名为更多"的下拉菜单.滴——选择了向下选项修改.
- Visual Studio 安装程序随后显示了标题为工作负载"、个人"的选项卡"组件、语言包和安装位置.选项卡个人组件被选中.
- 向下滚动单个组件的列表,有一个标题为编译器、构建工具和运行时.在该部分下有一个 VC++2015.3 v140 桌面工具集 (x86,x64) 选项未选中.这然后选中了选项.
- 位于 Visual Studio 右下方的修改"按钮安装程序被推送.
- 等待不合理的长时间后,安装程序完成修改 Visual Studio Community 2017 的安装.
与往常一样,您的里程可能会有所不同.
As always, your mileage may differ.
这篇关于即使安装了 Microsoft Visual C++ 14.0 也会出现 Pip 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!