hi,大佬 请教一下dify1.1.3社区版,sandbox沙箱每半个小时重新加载python环境:这个问题如何避免 #81

Closed
opened 2026-02-16 05:19:08 -05:00 by yindo · 1 comment
Owner

Originally created by @liuyongneng on GitHub (Jun 3, 2025).

问题描述

sandbox每半个消息更新python依赖库如何解决问题问题???
2025/05/29 03:05:56 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 03:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 03:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 03:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 03:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 03:06:09 server.go:89: [INFO]Python dependencies updated successfully.

2025/05/29 03:35:56 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 03:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 03:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 03:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 03:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 03:36:09 server.go:89: [INFO]Python dependencies updated successfully.

2025/05/29 04:05:56 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 04:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 04:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 04:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 04:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 04:06:09 server.go:89: [INFO]Python dependencies updated successfully.
2025/05/29 04:35:57 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 04:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 04:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 04:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 04:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 04:36:09 server.go:89: [INFO]Python dependencies updated successfully.
2025/05/29 05:05:56 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 05:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 05:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 05:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 05:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 05:06:09 server.go:89: [INFO]Python dependencies updated successfully.
[GIN] 2025/05/29 - 05:35:46 | 200 | 30.31805ms | 10.75.139.70 | POST "/v1/sandbox/run"
2025/05/29 05:35:56 server.go:80: [INFO]Updating Python dependencies...
2025/05/29 05:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
2025/05/29 05:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
2025/05/29 05:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
2025/05/29 05:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
2025/05/29 05:36:09 server.go:89: [INFO]Python dependencies updated successfully.

页面链接

建议修改

这个问题如何解决,请帮忙解决

Originally created by @liuyongneng on GitHub (Jun 3, 2025). ## 问题描述 <!-- 请简要描述您发现的问题 --> sandbox每半个消息更新python依赖库如何解决问题问题??? 2025/05/29 03:05:56 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 03:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 03:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 03:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 03:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 03:06:09 server.go:89: [INFO]Python dependencies updated successfully. 2025/05/29 03:35:56 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 03:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 03:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 03:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 03:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 03:36:09 server.go:89: [INFO]Python dependencies updated successfully. 2025/05/29 04:05:56 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 04:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 04:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 04:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 04:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 04:06:09 server.go:89: [INFO]Python dependencies updated successfully. 2025/05/29 04:35:57 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 04:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 04:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 04:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 04:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 04:36:09 server.go:89: [INFO]Python dependencies updated successfully. 2025/05/29 05:05:56 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 05:06:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 05:06:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 05:06:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 05:06:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 05:06:09 server.go:89: [INFO]Python dependencies updated successfully. [GIN] 2025/05/29 - 05:35:46 | 200 | 30.31805ms | 10.75.139.70 | POST "/v1/sandbox/run" 2025/05/29 05:35:56 server.go:80: [INFO]Updating Python dependencies... 2025/05/29 05:36:03 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available 2025/05/29 05:36:03 env.go:30: [WARN]python lib path /usr/lib/python3 is not available 2025/05/29 05:36:06 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available 2025/05/29 05:36:06 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available 2025/05/29 05:36:09 server.go:89: [INFO]Python dependencies updated successfully. ## 页面链接 ## 建议修改 这个问题如何解决,请帮忙解决
yindo closed this issue 2026-02-16 05:19:08 -05:00
Author
Owner

@saltism commented on GitHub (Jun 10, 2025):

Hi, this is the documentation repo, not a technical support channel.
I’m afraid unable to address the issue you mentioned here.
You can submit your request or issue to the main Dify GitHub repository.

@saltism commented on GitHub (Jun 10, 2025): Hi, this is the documentation repo, not a technical support channel. I’m afraid unable to address the issue you mentioned here. You can submit your request or issue to the main [Dify GitHub repository](https://github.com/langgenius/dify).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#81