Closed chrisyy2003 closed 1 year ago
@scheduler.scheduled_job("interval", seconds=1) File "/usr/local/lib/python3.10/site-packages/nonebot/plugin/export.py", line 38, in __call__ self[func.__name__] = func AttributeError: 'str' object has no attribute '__name__'
nonebot2 = "^2.0.0rc2" nonebot-plugin-apscheduler = "^0.2.0"
nb rc2版本已经不存在nonebot/plugin/export.py这个文件了,请检查你的安装环境是否正确,或卸载删除nb2重装
nonebot/plugin/export.py
nonebot2 = "^2.0.0rc2" nonebot-plugin-apscheduler = "^0.2.0"