-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
搜图报错下载失败 TypeError: Current driver does not support http client #136
Comments
env设置下方内容之后 DRIVER=~fastapi+~httpx+~websockets 使用下方命令安装各驱动器依赖即可 pip install nonebot2[fastapi,httpx,websockets] 其中 原因见 nonebot/nonebot2#2435 adapter.py 章节中 第 2 条:
Alconna 的 |
非常感谢,顺便解决了我这边表情包制作不能用自己发图的问题。 |
感谢答疑!我这边在.env.prod中设置、以及安装依赖pip install nonebot2[fastapi,httpx,websockets]后,仍然会在搜图时立刻发一次报错,不过搜图功能正常有结果。 如何复现: 各版本: Package Version aiohappyeyeballs 2.4.4 报错代码:
|
YetAnotherPicSearch 、 PicImageSearch 、 go-cqhttp 、 nonebot 、 Python 版本及操作系统
YetAnotherPicSearch 2.0.0
NapCat 1.8.6
nonebot 2.3.2
Python 3.10.11
Windows 11 24H2
列出安装的 Python 包
No response
如何复现
直接搜图
期望行为
No response
实际行为
The text was updated successfully, but these errors were encountered: