提问人:Javi Marketing 提问时间:10/28/2023 最后编辑:starballJavi Marketing 更新时间:11/1/2023 访问量:115
安装 Python 包时出错:“需要 Microsoft Visual C++ 14.0 或更高版本”
Error Installing Python Packages: "Microsoft Visual C++ 14.0 or greater is required"
问:
我正在尝试使用安装一些 Python 包,但遇到以下错误:pip
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build aiohttp frozenlist multidict yarl
ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects
我尝试从提供的链接安装 Microsoft C++ Build Tools,但问题仍然存在。
其他详细信息:
- 操作系统: (Windows 10 & 11)
- Python版本:(3.12.0)
- 使用的命令:(pip install openai)
有没有人遇到过类似的问题或知道如何解决这个问题?
我尝试过什么:
- 从提供的链接安装Microsoft C++生成工具。
- 已重新启动计算机。
- 运行以确保 pip 是最新的。
pip install --upgrade pip
- 已尝试单独安装软件包。
- 在线检查了类似问题,但找不到适合我的解决方案。
尽管采取了这些步骤,问题仍然存在。
答: 暂无答案
评论