【问题标题】:Git Bash: Microsoft Visual C++ 14.0 is required, but I already have it installedGit Bash:需要 Microsoft Visual C++ 14.0,但我已经安装了它
【发布时间】:2020-05-13 12:49:12
【问题描述】:

我正在使用 git 在 Windows 10 上克隆 https://github.com/rkern/line_profiler.git。它出现此错误但我已安装此错误(见下图):

错误:需要 Microsoft Visual C++ 14.0。使用“Microsoft Visual C++ Build Tools”获取它:https://visualstudio.microsoft.com/downloads/

这是我正在使用的命令:

git clone https://github.com/rkern/line_profiler.git
find line_profiler -name '*.pyx' -exec cython {} \;
cd line_profiler
pip install . --user

【问题讨论】:

    标签: windows git visual-c++ line-profiler


    【解决方案1】:

    构建工具,新链接在这里:https://aka.ms/vs/17/release/vs_BuildTools.exe

    【讨论】:

      【解决方案2】:

      你没有任何 Visual C++,你只有 Redistributable 包。他们安装用于运行用 VC 编写的应用程序的运行时库。但是你需要 Visual C++ 编译器!安装Build Tools

      https://stackoverflow.com/search?q=%5Bpip%5D+Microsoft+Visual+C%2B%2B+14.0+is+required

      【讨论】:

      • 缺少构建工具。谢谢!
      猜你喜欢
      • 2019-02-02
      • 1970-01-01
      • 1970-01-01
      • 2019-07-12
      • 1970-01-01
      • 1970-01-01
      • 2021-12-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多