-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bug: 无法启动 #91
Comments
检查一下虚拟环境里是否有 nonebot1 和 nonebot2 混装 |
我这边没有复现成功,上面报错里面有 CommandSession 只可能是 NoneBot 1 由于各种原因被装进来了(比如误操作或者某些插件写错依赖),你可以自己激活一下 venv,pip uninstall 掉 nb1 和 nb2 再重新装 nb2。 |
根据适配器规范,飞书现在不再直接依赖 httpx,而是通过 nb2 提供,所以需要同时启用 fastapi 和 httpx driver |
已成功启动运行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
操作系统
Windows
Python 版本
3.11.6
NoneBot 版本
2.1.3
飞书适配器版本
2.3.1
描述问题
安装适配器后启动报错
复现步骤
1.新建nb项目
2.驱动器:httpx
3.适配器:飞书
4.cd feishubot
5.nb run
期望的结果
No response
截图或日志
The text was updated successfully, but these errors were encountered: