如何解决 Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“

序言

在安装、构建python库fasttext时,产生了一下报错日志。为此记录一下解决这个问题的过程:

  • Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/

1. 下载Microsoft C++ Build Tools

  • 打开网址: https://visualstudio.microsoft.com/visual-cpp-build-tools/

  • 点击下载【下载生成工具】,并打开。

如何解决 Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“_第1张图片

  • 接着在Workloads中,点击选择【C++ build tools】,并开始下载。

如何解决 Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“_第2张图片
如何解决 Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“_第3张图片

2. 重启

  • 显示下载完成后,重启机器即可。

你可能感兴趣的:(C++,microsoft,c++,开发语言)