我只是试着安装电报api 'aiogram‘,但没有成功
building 'yarl._quoting_c' extension
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 multidict yarl
ERROR: Could not build wheels for multidict, yarl, which is required to install pyproject.toml-based projects
发布于 2022-12-02 20:59:30
看起来您正在尝试安装用于Python的aiogram库,但是您遇到了一个与14.0或更高版本相关的错误。发生此错误是因为aiogram库依赖于yarl库,该库要求在您的系统上安装Microsoft C++ 14.0或更高版本才能生成。
若要修复此错误,您需要在系统上安装MicrosoftVisualVISUAL14.0或更高版本。该错误消息提供了一个指向页面的链接,您可以在该页面下载和安装必要的工具。一旦安装了Microsoft C++ 14.0或更高版本,您应该能够成功地安装able库。
下面是安装Microsoft C++ 14.0或更高版本并修复错误的步骤:
https://visualstudio.microsoft.com/visual-cpp-build-tools/
安装完成后,尝试再次使用pip安装
https://stackoverflow.com/questions/74661367
复制相似问题