/.venv/bin/python: no such file or directory #21867

Closed
opened 2026-02-21 20:14:38 -05:00 by yindo · 3 comments
Owner

Originally created by @dingdingkaifa on GitHub (Jan 23, 2026).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.4

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

Image

✔️ Expected Behavior

no error

Actual Behavior

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

Originally created by @dingdingkaifa on GitHub (Jan 23, 2026). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.11.4 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory failed to init environment 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory failed to init environment, retried in 0 seconds 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory failed to init environment 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory <img width="666" height="111" alt="Image" src="https://github.com/user-attachments/assets/7a3bc929-190d-4331-b4a6-751b6755a2b8" /> ### ✔️ Expected Behavior no error ### ❌ Actual Behavior 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory failed to init environment 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory failed to init environment, retried in 0 seconds 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory failed to init environment 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory
yindo added the 🐞 bug label 2026-02-21 20:14:38 -05:00
yindo closed this issue 2026-02-21 20:14:38 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 23, 2026):

This error is a known issue in self-hosted Docker deployments of Dify. The most common causes are broken or missing Python virtual environments for plugins, often after Docker volume migration or upgrade (especially if you used zip instead of tar, which breaks symlinks required for Python venvs) reference.

Here’s a step-by-step checklist to resolve it:

  1. Enter the plugin_daemon container:
    docker exec -it docker-plugin_daemon-1 bash
    
  2. Find the broken plugin’s .venv directory (adjust the path as needed):
    VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1)
    echo "$VENV"
    
  3. If the .venv directory exists but is broken, delete it:
    rm -rf "$VENV"
    
  4. Restart the plugin daemon container so it can recreate the environment:
    exit
    docker restart docker-plugin_daemon-1
    
  5. If plugins still fail, uninstall and reinstall them from the Dify UI.

Other things to check:

  • Make sure the storage directory mapped to /app/storage in the container has correct permissions (UID/GID 1000:1000, at least 775).
  • If you see errors about creating virtual environments, add security_opt: [seccomp:unconfined] to the plugin_daemon service in your docker-compose.yaml to disable security restrictions that block venv creation.
  • Set these environment variables for the plugin_daemon service if you encounter timeouts or dependency installation failures:
    environment:
      PYTHON_ENV_INIT_TIMEOUT: 640
      PLUGIN_MAX_EXECUTION_TIMEOUT: 2400
      PIP_MIRROR_URL: https://pypi.tuna.tsinghua.edu.cn/simple
    
  • Make sure the uv Python package is installed in the environment; missing uv will prevent Python venv creation reference.
  • After upgrades, use the dify-env-sync.sh tool to keep your .env file up to date and avoid configuration drift reference.

For future Docker volume migrations, always use tar to back up and restore volumes to preserve symlinks in plugin venvs.

If the environments remain broken, uninstall all plugins, clear the plugin directories, and reinstall them after restart. Manual intervention is often required; there’s no evidence this bug is fully fixed in newer Dify versions reference.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 23, 2026): <!-- Answer --> This error is a known issue in self-hosted Docker deployments of Dify. The most common causes are broken or missing Python virtual environments for plugins, often after Docker volume migration or upgrade (especially if you used zip instead of tar, which breaks symlinks required for Python venvs) [reference](https://github.com/langgenius/dify/issues/30529). Here’s a step-by-step checklist to resolve it: 1. **Enter the plugin_daemon container**: ```sh docker exec -it docker-plugin_daemon-1 bash ``` 2. **Find the broken plugin’s `.venv` directory** (adjust the path as needed): ```sh VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1) echo "$VENV" ``` 3. **If the `.venv` directory exists but is broken, delete it**: ```sh rm -rf "$VENV" ``` 4. **Restart the plugin daemon container** so it can recreate the environment: ```sh exit docker restart docker-plugin_daemon-1 ``` 5. **If plugins still fail**, uninstall and reinstall them from the Dify UI. **Other things to check**: - Make sure the storage directory mapped to `/app/storage` in the container has correct permissions (UID/GID 1000:1000, at least 775). - If you see errors about creating virtual environments, add `security_opt: [seccomp:unconfined]` to the `plugin_daemon` service in your `docker-compose.yaml` to disable security restrictions that block venv creation. - Set these environment variables for the `plugin_daemon` service if you encounter timeouts or dependency installation failures: ```yaml environment: PYTHON_ENV_INIT_TIMEOUT: 640 PLUGIN_MAX_EXECUTION_TIMEOUT: 2400 PIP_MIRROR_URL: https://pypi.tuna.tsinghua.edu.cn/simple ``` - Make sure the `uv` Python package is installed in the environment; missing `uv` will prevent Python venv creation [reference](https://github.com/langgenius/dify/issues/30529). - After upgrades, use the `dify-env-sync.sh` tool to keep your `.env` file up to date and avoid configuration drift [reference](https://github.com/langgenius/dify/pull/29845). For future Docker volume migrations, always use tar to back up and restore volumes to preserve symlinks in plugin venvs. If the environments remain broken, uninstall all plugins, clear the plugin directories, and reinstall them after restart. Manual intervention is often required; there’s no evidence this bug is fully fixed in newer Dify versions [reference](https://github.com/langgenius/dify/issues/29501). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7e6dd851-e2df-4aea-8932-2e4bde03b81b?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20error%20is%20a%20known%20issue%20in%20self-hosted%20Docker%20deployments%20of%20Dify.%20The%20most%20common%20causes%20are%20broken%20or%20missing%20Python%20virtual%20environments%20for%20plugins%2C%20often%20after%20Docker%20volume%20migration%20or%20upgrade%20%28especially%20if%20you%20used%20zip%20instead%20of%20tar%2C%20which%20breaks%20symlinks%20required%20for%20Python%20venvs%29%C2%A0%5Breference%5D%28https%3A//github.com/langgenius/dify/issues/30529%29.%0A%0AHere%E2%80%99s%20a%20step-by-step%20checklist%20to%20resolve%20it%3A%0A%0A1.%20%2A%2AEnter%20the%20plugin_daemon%20container%2A%2A%3A%0A%20%20%20%60%60%60sh%0A%20%20%20docker%20exec%20-it%20docker-plugin_daemon-1%20bash%0A%20%20%20%60%60%60%0A2.%20%2A%2AFind%20the%20broken%20plugin%E2%80%99s%20%60.venv%60%20directory%2A%2A%20%28adjust%20the%20path%20as%20needed%29%3A%0A%20%20%20%60%60%60sh%0A%20%20%20VENV%3D%24%28find%20/app/storage%20-maxdepth%205%20-type%20d%20-name%20%27.venv%27%20%7C%20head%20-n1%29%0A%20%20%20echo%20%22%24VENV%22%0A%20%20%20%60%60%60%0A3.%20%2A%2AIf%20the%20%60.venv%60%20directory%20exists%20but%20is%20broken%2C%20delete%20it%2A%2A%3A%0A%20%20%20%60%60%60sh%0A%20%20%20rm%20-rf%20%22%24VENV%22%0A%20%20%20%60%60%60%0A4.%20%2A%2ARestart%20the%20plugin%20daemon%20container%2A%2A%20so%20it%20can%20recreate%20the%20environment%3A%0A%20%20%20%60%60%60sh%0A%20%20%20exit%0A%20%20%20docker%20restart%20docker-plugin_daemon-1%0A%20%20%20%60%60%60%0A5.%20%2A%2AIf%20plugins%20still%20fail%2A%2A%2C%20uninstall%20and%20reinstall%20them%20from%20the%20Dify%20UI.%0A%0A%2A%2AOther%20things%20to%20check%2A%2A%3A%0A-%20Make%20sure%20the%20storage%20directory%20mapped%20to%20%60/app/storage%60%20in%20the%20container%20has%20correct%20permissions%20%28UID/GID%201000%3A1000%2C%20at%20least%20775%29.%0A-%20If%20you%20see%20errors%20about%20creating%20virtual%20environments%2C%20add%20%60security_opt%3A%20%5Bseccomp%3Aunconfined%5D%60%20to%20the%20%60plugin_daemon%60%20service%20in%20your%20%60docker-compose.yaml%60%20to%20disable%20security%20restrictions%20that%20block%20venv%20creation.%0A-%20Set%20these%20environment%20variables%20for%20the%20%60plugin_daemon%60%20service%20if%20you%20encounter%20timeouts%20or%20dependency%20installation%20failures%3A%0A%20%20%60%60%60yaml%0A%20%20environment%3A%0A%20%20%20%20PYTHON_ENV_INIT_TIMEOUT%3A%20640%0A%20%20%20%20PLUGIN_MAX_EXECUTION_TIMEOUT%3A%202400%0A%20%20%20%20PIP_MIRROR_URL%3A%20https%3A//pypi.tuna.tsinghua.edu.cn/simple%0A%20%20%60%60%60%0A-%20Make%20sure%20the%20%60uv%60%20Python%20package%20is%20installed%20in%20the%20environment%3B%20missing%20%60uv%60%20will%20prevent%20Python%20venv%20creation%C2%A0%5Breference%5D%28https%3A//github.com/langgenius/dify/issues/30529%29.%0A-%20After%20upgrades%2C%20use%20the%20%60dify-env-sync.sh%60%20tool%20to%20keep%20your%20%60.env%60%20file%20up%20to%20date%20and%20avoid%20configuration%20drift%C2%A0%5Breference%5D%28https%3A//github.com/langgenius/dify/pull/29845%29.%0A%0AFor%20future%20Docker%20volume%20migrations%2C%20always%20use%20tar%20to%20back%20up%20and%20restore%20volumes%20to%20preserve%20symlinks%20in%20plugin%20venvs.%0A%0AIf%20the%20environments%20remain%20broken%2C%20uninstall%20all%20plugins%2C%20clear%20the%20plugin%20directories%2C%20and%20reinstall%20them%20after%20restart.%20Manual%20intervention%20is%20often%20required%3B%20there%E2%80%99s%20no%20evidence%20this%20bug%20is%20fully%20fixed%20in%20newer%20Dify%20versions%C2%A0%5Breference%5D%28https%3A//github.com/langgenius/dify/issues/29501%29.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/31453)
Author
Owner

@fatelei commented on GitHub (Jan 23, 2026):

Self Checks

  • I have read the Contributing Guide and Language Policy.[x] This is only for bug report, if you would like to ask a question, please head to Discussions.[x] I have searched for existing issues search for existing issues, including closed ones.[x] I confirm that I am using English to submit this report, otherwise it will be closed.[x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)[x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.4

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

Image ### ✔️ Expected Behavior no error

Actual Behavior

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

maybe some reason, the .venv create failed

 venv, err := p.checkPythonVirtualEnvironment()
  switch err {
  case ErrVirtualEnvironmentNotFound:
      // create virtual environment
      venv, err = p.createVirtualEnvironment(uvPath)

you can go to directory /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/, execute uv venv .venv --python 3.12

@fatelei commented on GitHub (Jan 23, 2026): > ### Self Checks > * [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).[x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).[x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.[x] I confirm that I am using English to submit this report, otherwise it will be closed.[x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)[x] Please do not modify this template :) and fill in all the required fields. > > ### Dify version > 1.11.4 > > ### Cloud or Self Hosted > Self Hosted (Docker) > > ### Steps to reproduce > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment, retried in 0 seconds > > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > <img alt="Image" width="666" height="111" src="https://private-user-images.githubusercontent.com/32190417/539700166-7a3bc929-190d-4331-b4a6-751b6755a2b8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxNjUyOTgsIm5iZiI6MTc2OTE2NDk5OCwicGF0aCI6Ii8zMjE5MDQxNy81Mzk3MDAxNjYtN2EzYmM5MjktMTkwZC00MzMxLWI0YTYtNzUxYjY3NTVhMmI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIzVDEwNDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1MWVhZWNmOWZmNWJhMTM4YzhmYTYzMzkwZjJiMTg4NTgyNmE2ZTMxZDIxOTljMjU2YzM5N2JlMGYxNjEzODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MaWHy4XwBH-vzzk7tN7IKFTjVSkq_8zdEISjc0Y0Mwo"> > ### ✔️ Expected Behavior > no error > > ### ❌ Actual Behavior > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment, retried in 0 seconds > > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory maybe some reason, the .venv create failed ``` venv, err := p.checkPythonVirtualEnvironment() switch err { case ErrVirtualEnvironmentNotFound: // create virtual environment venv, err = p.createVirtualEnvironment(uvPath) ``` you can go to directory /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/, execute uv venv .venv --python 3.12
Author
Owner

@fatelei commented on GitHub (Jan 23, 2026):

Self Checks

  • I have read the Contributing Guide and Language Policy.[x] This is only for bug report, if you would like to ask a question, please head to Discussions.[x] I have searched for existing issues search for existing issues, including closed ones.[x] I confirm that I am using English to submit this report, otherwise it will be closed.[x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)[x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.4

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

Image ### ✔️ Expected Behavior no error

Actual Behavior

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory

failed to init environment, retried in 0 seconds

2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

failed to init environment

2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory

i submit a pr https://github.com/langgenius/dify-plugin-daemon/pull/579, let it self healing

@fatelei commented on GitHub (Jan 23, 2026): > ### Self Checks > * [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).[x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).[x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.[x] I confirm that I am using English to submit this report, otherwise it will be closed.[x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)[x] Please do not modify this template :) and fill in all the required fields. > > ### Dify version > 1.11.4 > > ### Cloud or Self Hosted > Self Hosted (Docker) > > ### Steps to reproduce > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment, retried in 0 seconds > > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > <img alt="Image" width="666" height="111" src="https://private-user-images.githubusercontent.com/32190417/539700166-7a3bc929-190d-4331-b4a6-751b6755a2b8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxNjYyNDcsIm5iZiI6MTc2OTE2NTk0NywicGF0aCI6Ii8zMjE5MDQxNy81Mzk3MDAxNjYtN2EzYmM5MjktMTkwZC00MzMxLWI0YTYtNzUxYjY3NTVhMmI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIzVDEwNTkwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMwZTBjYjI5ZGI0NTRhZGZiMjEwZWY4MGI5M2E2ZjlmOWY5MjA1ZGNkNGNlNzVhMzM2NGNjMzE5ZDVmYjJjOTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oENB_xlTIUsJKK31CG-QPElWMmUpwseFTDNXz4y-jKE"> > ### ✔️ Expected Behavior > no error > > ### ❌ Actual Behavior > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: langgenius/feishu_document:0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/langgenius/feishu_document-0.0.1@7ffc4bd08dad6ca203ea343f2771de3ed4de2a19ed196b305d1ea7921370d7a7/.venv/bin/python: no such file or directory > > failed to init environment, retried in 0 seconds > > 2026/01/23 10:24:51 logger.go:24: [ERROR]local runtime start failed: svcvit/agent:0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e, error: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory > > failed to init environment > > 2026/01/23 10:24:51 server_local.go:106: [ERROR]launch local plugin failed: failed to check virtual environment: failed to find python: stat /app/storage/cwd/svcvit/agent-0.0.4@da10dd8bc6c029f1e3bdfea8cf44ba91a37233a2ab59188c5b663d5c8ce4db7e/.venv/bin/python: no such file or directory i submit a pr https://github.com/langgenius/dify-plugin-daemon/pull/579, let it self healing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21867