Skip to content

python lib path is not available #232

@zigaSRC

Description

@zigaSRC

Hello,

in version 0.2.14 the python installation is not resolved, as a consequence no existing plugins can be updated or new ones installed.

The error message is:

{"time":"2026-03-30T07:19:43.630785766Z","level":"INFO","msg":"Updating Python dependencies"}
[GIN] 2026/03/30 - 07:19:46 | 200 | 14.474µs | 10.65.24.2 | GET "/health"
{"time":"2026-03-30T07:19:47.60948973Z","level":"WARN","msg":"python lib path is not available","path":"/usr/local/lib/python3.14"}
{"time":"2026-03-30T07:19:47.609622898Z","level":"WARN","msg":"python lib path is not available","path":"/usr/lib/python3.14"}
{"time":"2026-03-30T07:19:47.609632418Z","level":"WARN","msg":"python lib path is not available","path":"/usr/lib/python3"}
[GIN] 2026/03/30 - 07:19:47 | 200 | 26.173µs | 10.65.24.2 | GET "/health"
{"time":"2026-03-30T07:19:50.198058853Z","level":"WARN","msg":"python lib path is not available","path":"/etc/nsswitch.conf"}
{"time":"2026-03-30T07:19:50.205845106Z","level":"WARN","msg":"python lib path is not available","path":"/run/systemd/resolve/stub-resolv.conf"}
{"time":"2026-03-30T07:19:50.205864848Z","level":"WARN","msg":"python lib path is not available","path":"/run/resolvconf/resolv.conf"}
{"time":"2026-03-30T07:19:50.205871721Z","level":"WARN","msg":"python lib path is not available","path":"/etc/localtime"}
{"time":"2026-03-30T07:19:51.058361435Z","level":"WARN","msg":"python lib path is not available","path":"/etc/timezone"}
{"time":"2026-03-30T07:19:51.058469247Z","level":"INFO","msg":"Python dependencies updated successfully"}

which causes the following error in plugin-daemon;

2026-03-30T06:57:37.933191464Z ERROR dify-plugin-daemon logger.go:24 local runtime start failed plugin=langgenius/xinference:0.0.10@4a2d5ec3ea0923403480838dcdeb26824f8c096f068c953e9e83d41984a61304 error="failed to install dependencies: failed to start command: context canceled\nfailed to init environment"
github.com/langgenius/dify-plugin-daemon/internal/core/control_panel.(*StandardLogger).OnLocalRuntimeStartFailed
/app/internal/core/control_panel/logger.go:24
github.com/langgenius/dify-plugin-daemon/internal/core/control_panel.(*ControlPanel).LaunchLocalPlugin.func6
/app/internal/core/control_panel/launcher_local.go:101
github.com/langgenius/dify-plugin-daemon/internal/core/control_panel.(*ControlPanel).WalkNotifiers
/app/internal/core/control_panel/notifier.go:20
github.com/langgenius/dify-plugin-daemon/internal/core/control_panel.(*ControlPanel).LaunchLocalPlugin
/app/internal/core/control_panel/launcher_local.go:100
github.com/langgenius/dify-plugin-daemon/internal/core/plugin_manager.(*PluginManager).installLocal.func1
/app/internal/core/plugin_manager/installer.go:323
github.com/langgenius/dify-plugin-daemon/pkg/utils/routine.Submit.func1.1
/app/pkg/utils/routine/pool.go:68
github.com/langgenius/dify-plugin-daemon/pkg/utils/routine.Submit.func1
/app/pkg/utils/routine/pool.go:58
github.com/panjf2000/ants/v2.(*goWorker).run.func1
/go/pkg/mod/github.com/panjf2000/ants/v2@v2.10.0/worker.go:71

Most likely cause is the following commit: fcb94aa

Best regards,
zigaSRC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions