ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based

记录一下,安装aiohttp库出现的问题

  1. 问题1:报两个错误,
ERROR: Failed building wheel for yarl
Failed to build yarl
ERROR: Could not build wheels for yarl, which is required to install pyproject.toml-based projects

解决方法:ERROR: Failed building wheel for yarl,根据这个,安装需要的库yarl,

用pip install yarl 不行,下载whl,用下面的就行

存档: Python Extension Packages for Windows - Christoph Gohlke

用这种格式安装

pip install C:\Users\zhoub\python库\aiohttp-3.8.1-cp311-cp311-win_amd64.whl

 

类似,ERROR: Failed building wheel for yarl

yarl要什么库就下啥,安啥,

最终,要的aiohttp就安上了

你可能感兴趣的:(python,开发语言)