distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools
时间: 2023-10-15 22:31:37 浏览: 430
error: Microsoft Visual C++ 14.0 or greater is required. BUG解决包!
distutils.errors.DistutilsPlatformError: Microsoft Visual C 14.0 or greater is required. Get it with "Microsoft C Build Tools" 是一个安装类库时可能出现的错误提示。这个错误提示意味着你的系统缺少Microsoft Visual C 14.0版本或更高版本。为了解决这个问题,你可以按照以下步骤进行操作:
1. 首先,你可以尝试从"Microsoft C Build Tools"官网下载并安装对应的版本。你可以在链接https://visualstudio.microsoft.com/visual-cpp-build-tools/找到它。
2. 如果以上链接无法访问或无法解决问题,你可以手动下载所需的库文件(whl文件)。你可以通过访问https://pypi.org/并搜索你需要下载的库来找到所需的whl文件。
3. 找到对应的whl文件后,将其下载到本地。
4. 打开命令提示符或终端窗口,并使用pip命令来安装下载好的whl文件。例如,运行以下命令:pip install path/to/your/downloaded/whl_file.whl
5. 等待安装完成后,尝试再次运行你的程序或安装所需的库,应该不会再出现这个错误。
通过上述步骤,你应该能够解决distutils.errors.DistutilsPlatformError: Microsoft Visual C 14.0 or greater is required. Get it with "Microsoft C Build Tools"的问题。这些步骤将帮助你安装所需的库,并使你的程序能够正常运行。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it w](https://blog.csdn.net/qq_45135600/article/details/122712290)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Visual C++ 14.0](https://download.csdn.net/download/tanggoodboy/13976276)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [解决报错:distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required.](https://blog.csdn.net/qq_44907926/article/details/121451769)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文