fatwang2 / sum4all

网页、视频、图片大模型总结
MIT License
223 stars 42 forks source link

插件启动不了:sum4all: DLL load failed while importing _extra: 找不到指定的模块 #65

Open finexss opened 4 weeks ago

finexss commented 4 weeks ago

环境windows server 2016,python3.8 所有依赖都已安装且安装成功: 已安装原项目下的依赖pip3 install -r requirements.txt 和 拓展依赖 (可选,建议安装): pip3 install -r requirements-optional.txt 和sum4all下的依赖pip3 install -r requirements.txt

执行#installp https://github.com/fatwang2/sum4all.git后提示插件下载成功,在项目plugins\sum4all文件夹里有文件。 但是在启动时总是报错,下面是出错日志: INFO][2024-06-09 17:21:11][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-09 17:21:11][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role [WARNING][2024-06-09 17:21:11][plugin_manager.py:113] - Failed to import plugin sum4all: DLL load failed while importing _extra: 找不到指定的模块。 chatgpt-tool-hub version: 0.5.0 [INFO][2024-06-09 17:21:12][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool [INFO][2024-06-09 17:21:12][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-09 17:21:12][keyword.py:40] - [keyword] {} [INFO][2024-06-09 17:21:12][keyword.py:42] - [keyword] inited.

fatwang2 commented 4 weeks ago

跟你的部署环境有关,发给ChatGPT问一下吧

new @.***>于2024年6月9日 周日17:33写道:

环境windows server 2016,python3.8 所有依赖都已安装且安装成功: 已安装原项目下的依赖pip3 install -r requirements.txt 和 拓展依赖 (可选,建议安装): pip3 install -r requirements-optional.txt 和sum4all下的依赖pip3 install -r requirements.txt

执行#installp https://github.com/fatwang2/sum4all.git后提示插件下载成功,在项目plugins\sum4all文件夹里有文件。 但是在启动时总是报错,下面是出错日志: INFO][2024-06-09 17:21:11][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-09 17:21:11][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role [WARNING][2024-06-09 17:21:11][plugin_manager.py:113] - Failed to import plugin sum4all: DLL load failed while importing _extra: 找不到指定的模块。 chatgpt-tool-hub version: 0.5.0 [INFO][2024-06-09 17:21:12][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool [INFO][2024-06-09 17:21:12][godcmd.py:210]

  • [Godcmd] inited [INFO][2024-06-09 17:21:12][keyword.py:40] - [keyword] {} [INFO][2024-06-09 17:21:12][keyword.py:42] - [keyword] inited.

— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVEX6XCQDJ3YJEKENTZGQOOJAVCNFSM6AAAAABJAXPZSOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DEMJSG4YTGOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

finexss commented 4 weeks ago

跟你的部署环境有关,发给ChatGPT问一下吧 new @.>于2024年6月9日 周日17:33写道: 环境windows server 2016,python3.8 所有依赖都已安装且安装成功: 已安装原项目下的依赖pip3 install -r requirements.txt 和 拓展依赖 (可选,建议安装): pip3 install -r requirements-optional.txt 和sum4all下的依赖pip3 install -r requirements.txt 执行#installp https://github.com/fatwang2/sum4all.git后提示插件下载成功,在项目plugins\sum4all文件夹里有文件。 但是在启动时总是报错,下面是出错日志: INFO][2024-06-09 17:21:11][plugin_manager.py:50] - Loading plugins config... [INFO][2024-06-09 17:21:11][plugin_manager.py:88] - Scaning plugins ... [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins\banwords [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins\bdunit [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins\dungeon [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins\finish [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins\godcmd [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins\hello [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins\keyword [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins\linkai [INFO][2024-06-09 17:21:11][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins\role [WARNING][2024-06-09 17:21:11][plugin_manager.py:113] - Failed to import plugin sum4all: DLL load failed while importing _extra: 找不到指定的模块。 chatgpt-tool-hub version: 0.5.0 [INFO][2024-06-09 17:21:12][plugin_manager.py:41] - Plugin tool_v0.5 registered, path=./plugins\tool [INFO][2024-06-09 17:21:12][godcmd.py:210] - [Godcmd] inited [INFO][2024-06-09 17:21:12][keyword.py:40] - [keyword] {} [INFO][2024-06-09 17:21:12][keyword.py:42] - [keyword] inited. — Reply to this email directly, view it on GitHub <#65>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVEX6XCQDJ3YJEKENTZGQOOJAVCNFSM6AAAAABJAXPZSOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DEMJSG4YTGOI . You are receiving this because you are subscribed to this thread.Message ID: @.>

这个项目我把文件夹整个copy到ubuntu系统里,启动就正常,windows环境老出点莫名其妙的问题。

fatwang2 commented 3 weeks ago

就是看看缺什么依赖就安什么依赖