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就安上了

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
引用中的报错信息显示,无法为pysptk构建wheel,而这是安装pyproject.toml-based项目所需要的。这可能是因为缺少Microsoft Visual C 14.0或更高版本。您可以通过访问"Microsoft C Build Tools"网址https://visualstudio.microsoft.com/visual-cpp-build-tools/ 来获取它。建议您安装所需的Microsoft Visual C版本后再次尝试安装pysptk。 所以,对于问题中的ERROR: Could not build wheels for pysptk, which is required to install pyproject.toml-based projects,请您首先确保已经安装了Microsoft Visual C 14.0或更高版本,并且按照引用中的链接获取必要的Microsoft C Build Tools。安装完成后,再次尝试安装pysptk,应该就可以解决该问题了。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [ERROR: Could not build wheels for pysptk, which is required to install pyproject.toml-based projects](https://blog.csdn.net/ooooooobh/article/details/131051420)[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_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [ERROR: Could not build wheels for python-ldap, which is required to install pyproject.toml-base proj](https://blog.csdn.net/weixin_38708145/article/details/128748294)[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_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值