mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
本地插件安装后,运行失败 #180
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3099749306 on GitHub (Jul 20, 2025).
大佬你好,我在本地开发了一个插件,通过启动本地代码远程调试,是没有问题的。但是,当我打包好后,安装到dify上的时候,有一个地方一直报错,会不会是打包部署后,该有的依赖没有下载下来呢。
1.本地调试:
2.打包后,本地安装的插件:
检查了requirement.txt,没有问题
@3099749306 commented on GitHub (Jul 20, 2025):
@jingfelix commented on GitHub (Jul 21, 2025):
Based on your error message, I found this post: https://eco.dameng.com/community/question/ec52c8c5b36d5445db1ed8399728fb97
This post indicates that using the
dmPyPI lib to connect to a Dameng database requires additional dependencies to be installed in the environment. The Community version of the Dify plugin runs within a Docker container, which lacks the necessary dependencies, causing the execution to fail.@3099749306 commented on GitHub (Jul 21, 2025):
@jingfelix thanks,I will try this post which you offered。however,I have an idea:if this plugin installed,I can enter dify plugin_daemon container,and find the plugin's venv,Manually download dyPython dependencies, not sure if this will work。I tried,but can't find this plugin's vevn directory。
@jingfelix commented on GitHub (Jul 22, 2025):
You can find venv for plugins at
/app/storage/cwdinplugin_daemon.