-
Notifications
You must be signed in to change notification settings - Fork 58
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
导入插件错误ImportError: cannot import name 'BaseConfig' from 'nonebot.config' (D:\yunzai\nonebot\qq2\.venv\lib\site-packages\nonebot\config.py) #484
Comments
你的依赖都是什么版本 |
我也出现同样问题,但我今天的操作就是装了其他的插件和nonebot更新到了2.2.0
|
版本不对,这个项目用到的版本比较旧了。 |
确实,刚测试了下是nonebot的问题,最新版本不支持。得回退上个版本了 |
这样做应该就能正常用了吧:
|
把
一行的 |
有用的话可以提交个pr,我合并上去 |
应该可以了,我用了两天能正常运行 |
ELF_RSS 、 go-cqhttp 、 nonebot 、 Python 版本及操作系统
02-16 08:11:58 [ERROR] nonebot | Failed to import "ELF_RSS2"
Traceback (most recent call last):
File "", line 14, in
File "D:\yunzai\nonebot\qq2.venv\lib\site-packages\nonebot\plugin\load.py", line 130, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "D:\yunzai\nonebot\qq2.venv\lib\site-packages\nonebot\plugin\load.py", line 64, in load_all_plugins
return manager.load_all_plugins()
File "D:\yunzai\nonebot\qq2.venv\lib\site-packages\nonebot\plugin\manager.py", line 176, in load_all_plugins
return set(
File "D:\yunzai\nonebot\qq2.venv\lib\site-packages\nonebot\plugin\manager.py", line 177, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
列出安装的 Python 包
No response
如何复现
在nonebot使用nb plugin install ELF-RSS然后启动报错,报错大意好像是加载插件错误

期望行为
正常启动
实际行为
加载错误
The text was updated successfully, but these errors were encountered: