failed to get the version of the plugin sdk: failed to find the version of the plugin sdk #114

Open
opened 2026-02-16 00:19:53 -05:00 by yindo · 3 comments
Owner

Originally created by @WangXiaoJin on GitHub (May 14, 2025).

when I install myself plugin by local package. The dify-plugin-daemon container print the error 'failed to find the version of the plugin sdk'. But the plugin is running normally.

2025/05/14 13:59:34 environment_python.go:334: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk

requirements.txt:

dify_plugin>=0.1.0,<0.2.0

manifest.yaml:

version: 0.0.3
type: plugin
.......
meta:
  version: 0.0.1
  arch:
    - amd64
    - arm64
  runner:
    language: python
    version: "3.12"
    entrypoint: main
  minimum_dify_version: 1.1.0
created_at: 2025-05-08T11:27:56.2403359+08:00
privacy: PRIVACY.md
verified: false

Originally created by @WangXiaoJin on GitHub (May 14, 2025). when I install myself plugin by local package. The `dify-plugin-daemon` container print the error 'failed to find the version of the plugin sdk'. But the plugin is running normally. ``` 2025/05/14 13:59:34 environment_python.go:334: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk ``` requirements.txt: ``` dify_plugin>=0.1.0,<0.2.0 ``` manifest.yaml: ``` version: 0.0.3 type: plugin ....... meta: version: 0.0.1 arch: - amd64 - arm64 runner: language: python version: "3.12" entrypoint: main minimum_dify_version: 1.1.0 created_at: 2025-05-08T11:27:56.2403359+08:00 privacy: PRIVACY.md verified: false ```
yindo added the plugin-daemon label 2026-02-16 00:19:53 -05:00
Author
Owner

@berg-wang commented on GitHub (May 28, 2025):

how to solve this problem?
I met this error too!

@berg-wang commented on GitHub (May 28, 2025): how to solve this problem? I met this error too!
Author
Owner

@byjgzmyhivn49 commented on GitHub (Aug 12, 2025):

I encountered the same issue after upgrading from 1.2.0 to 1.7.1 。

The following are some of the output logs
2025-08-13 10:44:07 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2025-08-13 10:44:07 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2025-08-13 10:44:07 bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2025-08-13 10:44:08 2025/08/13 02:44:08 pool.go:32: [INFO]init routine pool, size: 10000
2025-08-13 10:44:08 2025/08/13 02:44:08 init.go:103: [INFO]dify plugin db initialized
2025-08-13 10:44:08 2025/08/13 02:44:08 manager.go:114: [INFO]start plugin manager daemon...
2025-08-13 10:44:08 2025/08/13 02:44:08 watcher.go:17: [INFO]start to handle new plugins in path: plugin
2025-08-13 10:44:08 2025/08/13 02:44:08 watcher.go:18: [INFO]Launching plugins with max concurrency: 2
2025-08-13 10:44:08 2025/08/13 02:44:08 init.go:20: [INFO]Persistence initialized
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: yangchangtai/redis_exec:0.0.1
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin yangchangtai/redis_exec:0.0.1
2025-08-13 10:44:08 2025/08/13 02:44:08 environment_python.go:363: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: langgenius/openrouter:0.0.6
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin langgenius/openrouter:0.0.6
2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin yangchangtai/redis_exec:0.0.1 started
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: langgenius/deepseek:0.0.6
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin langgenius/deepseek:0.0.6
2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin langgenius/deepseek:0.0.6 started
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: hjlarry/storage:0.0.2
2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin hjlarry/storage:0.0.2
2025-08-13 10:44:08 2025/08/13 02:44:08 environment_python.go:363: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk
2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin hjlarry/storage:0.0.2 started
2025-08-13 10:44:08 [gnet] 2025-08-13T02:44:08.787249214Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:6003

@byjgzmyhivn49 commented on GitHub (Aug 12, 2025): I encountered the same issue after upgrading from 1.2.0 to 1.7.1 。 The following are some of the output logs 2025-08-13 10:44:07 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2025-08-13 10:44:07 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2025-08-13 10:44:07 bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2025-08-13 10:44:08 2025/08/13 02:44:08 pool.go:32: [INFO]init routine pool, size: 10000 2025-08-13 10:44:08 2025/08/13 02:44:08 init.go:103: [INFO]dify plugin db initialized 2025-08-13 10:44:08 2025/08/13 02:44:08 manager.go:114: [INFO]start plugin manager daemon... 2025-08-13 10:44:08 2025/08/13 02:44:08 watcher.go:17: [INFO]start to handle new plugins in path: plugin 2025-08-13 10:44:08 2025/08/13 02:44:08 watcher.go:18: [INFO]Launching plugins with max concurrency: 2 2025-08-13 10:44:08 2025/08/13 02:44:08 init.go:20: [INFO]Persistence initialized 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: yangchangtai/redis_exec:0.0.1 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin yangchangtai/redis_exec:0.0.1 2025-08-13 10:44:08 2025/08/13 02:44:08 environment_python.go:363: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: langgenius/openrouter:0.0.6 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin langgenius/openrouter:0.0.6 2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin yangchangtai/redis_exec:0.0.1 started 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: langgenius/deepseek:0.0.6 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin langgenius/deepseek:0.0.6 2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin langgenius/deepseek:0.0.6 started 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:27: [INFO]new plugin logged in: hjlarry/storage:0.0.2 2025-08-13 10:44:08 2025/08/13 02:44:08 full_duplex.go:59: [INFO]init environment for plugin hjlarry/storage:0.0.2 2025-08-13 10:44:08 2025/08/13 02:44:08 environment_python.go:363: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk 2025-08-13 10:44:08 2025/08/13 02:44:08 run.go:147: [INFO]plugin hjlarry/storage:0.0.2 started 2025-08-13 10:44:08 [gnet] 2025-08-13T02:44:08.787249214Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:6003
Author
Owner

@amine-y commented on GitHub (Sep 28, 2025):

To resolve this issue in the docker-compose.yaml file, please update the image version of langgenius/dify-plugin-daemon to langgenius/dify-plugin-daemon:0.3.1-local

@amine-y commented on GitHub (Sep 28, 2025): To resolve this issue in the docker-compose.yaml file, please update the image version of langgenius/dify-plugin-daemon to langgenius/dify-plugin-daemon:0.3.1-local
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#114