Git Bash: 需要 Microsoft Visual C++ 14.0,但我已经安装了它
Git Bash: Microsoft Visual C++ 14.0 is required, but I already have it installed
我正在使用 git 在 Windows 10 上克隆 https://github.com/rkern/line_profiler.git。它因这个错误而出错,但我安装了这个(见下图):
error: Microsoft Visual C++ 14.0 is required. Get it with "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
您没有任何 Visual C++,您只有可再发行组件包。他们安装 运行-time 库,这些库用于 运行 用 VC 编写的应用程序。但是你需要 Visual C++ 编译器!安装 Build Tools.
见https://whosebug.com/search?q=%5Bpip%5D+Microsoft+Visual+C%2B%2B+14.0+is+required
构建工具,新 link 在这里:https://aka.ms/vs/17/release/vs_BuildTools.exe
我正在使用 git 在 Windows 10 上克隆 https://github.com/rkern/line_profiler.git。它因这个错误而出错,但我安装了这个(见下图):
error: Microsoft Visual C++ 14.0 is required. Get it with "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
您没有任何 Visual C++,您只有可再发行组件包。他们安装 运行-time 库,这些库用于 运行 用 VC 编写的应用程序。但是你需要 Visual C++ 编译器!安装 Build Tools.
见https://whosebug.com/search?q=%5Bpip%5D+Microsoft+Visual+C%2B%2B+14.0+is+required
构建工具,新 link 在这里:https://aka.ms/vs/17/release/vs_BuildTools.exe