请问nb plugin install下载的插件如何管理 #31
-
如题,找不到插件位置与开关方法 |
Beta Was this translation helpful? Give feedback.
Answered by
jks15satoshi
Aug 29, 2021
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stdrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nb-cli
下载的插件本质上仍然是通过pip
安装,因此插件文件一般会放置在用户全局或你创建的 虚拟环境 中的site-packages
目录中。C:\Users\%USERNAME%\AppData\Roaming\Python38\site-packages
中(对于其他情况,可参考 该文档);nb plugin install
方式安装的插件。pyproject.toml
文件中设置需要加载的插件,以实现对插件的启用或禁用(参考:NoneBot 2 文档 - 加载插件)。