安装飞书适配器后启动报错。 #92
Replies: 6 comments 20 replies
-
是通过脚手架创建的项目 |
Beta Was this translation helpful? Give feedback.
-
请查看一下你的nonebot版本是否是alpha16
|
Beta Was this translation helpful? Give feedback.
-
飞书目前已经适配 nonebot 2.0.0-beta.1 |
Beta Was this translation helpful? Give feedback.
-
今天使用脚手架安装飞书适配器,飞书后台配置事件请求地址的时候提示 响应 返回的不是json格式,是不是也和适配度有关, 另外请问飞书目前适配的nb2版本是哪个版本。 |
Beta Was this translation helpful? Give feedback.
-
目前nb2的版本有这些 (from versions: 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.0a4, 2.0.0a5, 2.0.0a6, 2.0.0a7, 2.0.0a8, 2.0.0a8.post1, 2.0.0a8.post2, 2.0.0a9, 2.0.0a9.post1, 2.0.0a10, 2.0.0a11, 2.0.0a12, 2.0.0a13, 2.0.0a13.post1, 2.0.0a14, 2.0.0a15, 2.0.0a16, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0b5, 2.0.0rc1, 2.0.0rc2) 我看作者大大的飞书适配器版本最新到b6,但是我看官方只有b5 |
Beta Was this translation helpful? Give feedback.
-
是有公网IP的,所以很纳闷,不知道问题出在哪里,你那儿有跑通的源码吗,我参考一下发自我的手机-------- 原始邮件 --------发件人: StarHeart ***@***.***>日期: 2022年12月13日周二 04:22收件人: nonebot/discussions ***@***.***>抄送: kunhn ***@***.***>, Comment ***@***.***>主 题: Re: [nonebot/discussions] 安装飞书适配器后启动报错。 (Discussion #92)
飞书适配器的版本号与 NoneBot 2 无关,目前飞书适配器 2.0.0-beta.6 版本依赖的就是 2.0.0rc2看 log 我不清楚你是不是在有公网 IP 或者做了内网穿透的情况下启动的 NoneBot。
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
01-26 17:42:55 [WARNING] aiocache | ujson module not found, using json
01-26 17:42:55 [WARNING] aiocache | msgpack not installed, MsgPackSerializer unavailable
Traceback (most recent call last):
File "D:\develop\python\upwork\bot\bot.py", line 5, in
from nonebot.adapters.feishu import Bot as FeishuBot
File "C:\Users\my.virtualenvs\upwork-Ib4vrkhY\lib\site-packages\nonebot\adapters\feishu_init_.py", line 10, in
from .bot import Bot as Bot
File "C:\Users\my.virtualenvs\upwork-Ib4vrkhY\lib\site-packages\nonebot\adapters\feishu\bot.py", line 11, in
from nonebot.drivers import Driver, HTTPRequest, HTTPResponse
ImportError: cannot import name 'HTTPRequest' from 'nonebot.drivers' (C:\Users\my.virtualenvs\upwork-Ib4vrkhY\lib\site-packages\nonebot\drivers_init_.py)
Beta Was this translation helpful? Give feedback.
All reactions