chrisyy2003 / nonebot-plugin-gpt3

A nonebot plugin base on OpenAI API (gpt-3.5-turbo)
112 stars 16 forks source link

加载插件后无法启动机器人 #3

Closed zhaomaoniu closed 1 year ago

zhaomaoniu commented 1 year ago

使用pip install nonebot-plugin-gpt3 playwright -U安装插件并在bot.py里加上nonebot.load_plugin('nonebot_plugin_gpt3')后,bot无法启动,发生如下报错 image

已经下载了README.md里的rustup-steup.exe并安装,但是没有手动配置环境变量,在cmd中输入rustup -V后有以下输出: rustup 1.25.1 (bb60b1e89 2022-07-12) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active rustc version is rustc 1.66.0 (69f9c33d7 2022-12-12)

zhaomaoniu commented 1 year ago

刚才测试其他插件的时候调用了nonebot_plugin_htmlrender的md_to_pic函数,出现了相同的报错,uninstall该插件后不再报错

zhaomaoniu commented 1 year ago

在.env.dev中配置FASTAPI_RELOAD=false后, 问题已解决