Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”:报错解决
时间: 2023-10-15 07:24:01 浏览: 141
当安装一些Python库时,如果出现报错"Microsoft Visual C 14.0 is required. Get it with 'Microsoft Visual C Build Tools'",这是因为需要安装Microsoft Visual C 14.0相关的编译工具。解决这个问题的方法如下:
1. 首先,确保你已经安装了Visual Studio。你可以从Microsoft官方网站下载并安装Visual Studio。
2. 如果你只需要安装编译工具而不需要整个Visual Studio,可以下载和安装Microsoft Visual C Build Tools。你可以在Microsoft的官方网站上找到并下载这个工具。
3. 安装完成后,重新运行你的Python库安装命令。现在应该能够正确地安装所需的库了。
通过安装Microsoft Visual C Build Tools或者整个Visual Studio,你将能够解决报错"Microsoft Visual C 14.0 is required. Get it with 'Microsoft Visual C Build Tools'"的问题。这些工具将提供所需的编译环境,以便成功安装Python库。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”:报错解决](https://blog.csdn.net/qq_33719152/article/details/122949848)[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: 50%"]
- *2* [使用pip报错error: Microsoft Visual C++ 14.0 is ... Get it with “Microsoft Visual C++ Build Tools“:](https://blog.csdn.net/qq_34769162/article/details/124439362)[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: 50%"]
[ .reference_list ]
阅读全文