Skip to content
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

[寻求帮助] AttributeError: module 'nonebot' has no attribute 'load_bulitin_plugins' #96

Closed
nazhendenb opened this issue Dec 3, 2020 · 7 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@nazhendenb
Copy link

nazhendenb commented Dec 3, 2020

nonebot版本: 2.0.0a6(使用python3.8 -m pip install nonebot2安装,镜像也是刚重装的,确保没有使用过nonebot1)
OS: CentOS 8
python版本: 3.8.0
遇到的问题:在按照官方教程 加载插件时,无法加载内置插件。
image

bot.py内容如下
image

@yanyongyu
Copy link
Member

yanyongyu commented Dec 3, 2020

当前文件目录下是否还有个叫nonebot的文件夹,有没有卸载重装试过

@yanyongyu yanyongyu added the question Further information is requested label Dec 3, 2020
@nazhendenb
Copy link
Author

当前文件目录下是否还有个叫nonebot的文件夹,有没有卸载重装试过
没有叫nonebot的文件夹
image

uninstall 之后再install算是重装吗?试过了,不行

@yanyongyu
Copy link
Member

yanyongyu commented Dec 3, 2020

运行一下如下命令看一眼

python -c "import nonebot, inspect; print(inspect.getsource(nonebot))"

@bytemain
Copy link
Member

bytemain commented Dec 3, 2020

打错字了 是 builtin

image

@nazhendenb
Copy link
Author

打错字了 是 builtin

image

啊这,我是直接复制文档里的。。。

@bytemain
Copy link
Member

bytemain commented Dec 3, 2020

让写文档的出来挨打吧

@bytemain bytemain closed this as completed Dec 3, 2020
@bytemain bytemain mentioned this issue Dec 3, 2020
22 tasks
yanyongyu added a commit that referenced this issue Dec 3, 2020
@nazhendenb
Copy link
Author

感谢楼上二位大佬

@bytemain bytemain added the good first issue Good for newcomers label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Development

No branches or pull requests

3 participants