istutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
时间: 2023-10-15 20:26:44 浏览: 200
用于解决Microsoft Visual C++ 14.0 is required
当出现`distutils.errors.DistutilsPlatformError: Microsoft Visual C 14.0 or greater is required`错误时,这意味着你的环境缺少Microsoft Visual C++ 14.0或更高版本。你可以通过两种方式解决这个问题。
第一种解决方式是手动下载所需的库文件(.whl文件)。你可以使用这个链接https://pypi.org/搜索你需要下载的库文件。如果上述链接无法使用,你可以到官方网站https://visualstudio.microsoft.com/downloads/找到所需的库文件并手动下载。
第二种解决方式是安装"Microsoft C++ Build Tools"。你可以通过这个链接https://visualstudio.microsoft.com/visual-cpp-build-tools/下载并安装该工具。安装完成后,重新运行你的命令,问题应该就会解决了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [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: 50%"]
- *2* [解决报错: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: 50%"]
[ .reference_list ]
阅读全文