所以我试图在Python上安装这个包Eur-Lex,遇到了这个错误:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
字符串
我试图在博客或论坛上找到解决方案,但没有成功。我只有Python的基本知识。首先,这是“Microsoft Visual C++ 14.0是必需的错误”,所以我下载了Build Tools,它工作。还试图在VSCode或Spyder后重新安装Python,但没有工作。Python版本:3.8.10
有什么见解吗?
1条答案
按热度按时间0md85ypi1#
在修复“Microsoft Visual C++ 14.0 is required error”后,我在安装Twilio时遇到了同样的问题。但这对我来说很有效。
对于Python 3.11/12:
字符串
然后再试一次
型
参考:ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects