offline install plugs(ollama) #10871

Closed
opened 2026-02-21 18:52:09 -05:00 by yindo · 0 comments
Owner

Originally created by @chengmonk on GitHub (Mar 13, 2025).

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

when i install the ollama plug, it encounters the following error. because my host is totally offline(without internet).

✔️ Expected Behavior

install success.

Actual Behavior

init environment for plugin langgenius/ollama:0.0.3 failed too many times, you should consider the package is corrupted or your network is unstable

the containers of docker-plugin_daemon-1 log:
`

[INFO]init environment for plugin langgenius/ollama:0.0.3

2025-03-13 21:40:00 2025/03/13 13:40:00 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Failed to fetch: https://pypi.org/simple/numpy/

2025-03-13 21:40:00 Caused by: Could not connect, are you offline?

2025-03-13 21:40:00 Caused by: Request failed after 3 retries

2025-03-13 21:40:00 Caused by: error sending request for url (https://pypi.org/simple/numpy/)

2025-03-13 21:40:00 Caused by: client error (Connect)

2025-03-13 21:40:00 Caused by: dns error: failed to lookup address information: Name or service not known

2025-03-13 21:40:00 Caused by: failed to lookup address information: Name or service not known`

Originally created by @chengmonk on GitHub (Mar 13, 2025). ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce when i install the ollama plug, it encounters the following error. because my host is totally offline(without internet). ### ✔️ Expected Behavior install success. ### ❌ Actual Behavior init environment for plugin langgenius/ollama:0.0.3 failed too many times, you should consider the package is corrupted or your network is unstable the containers of docker-plugin_daemon-1 log: ` [INFO]init environment for plugin langgenius/ollama:0.0.3 2025-03-13 21:40:00 2025/03/13 13:40:00 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Failed to fetch: `https://pypi.org/simple/numpy/` 2025-03-13 21:40:00 Caused by: Could not connect, are you offline? 2025-03-13 21:40:00 Caused by: Request failed after 3 retries 2025-03-13 21:40:00 Caused by: error sending request for url (https://pypi.org/simple/numpy/) 2025-03-13 21:40:00 Caused by: client error (Connect) 2025-03-13 21:40:00 Caused by: dns error: failed to lookup address information: Name or service not known 2025-03-13 21:40:00 Caused by: failed to lookup address information: Name or service not known`
yindo added the 🐞 bug label 2026-02-21 18:52:09 -05:00
yindo closed this issue 2026-02-21 18:52:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10871