Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install the plug-in locally, and the download timed out #15260

Open
5 tasks done
shatang123 opened this issue Mar 8, 2025 · 1 comment
Open
5 tasks done
Labels
🤔 cant-reproduce We can not reproduce it or the information is limited

Comments

@shatang123
Copy link

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.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I downloaded the plugin installation package in the plugin market, and then installed the local plugin in the dify page, I found that a lot of dependency packages would be downloaded during the installation process, I would like to ask whether the mirror source is set when pip install, why the dependency installation fails
Image

✔️ Expected Behavior

You are advised to set a domestic image source to speed up dependent download

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🤔 cant-reproduce We can not reproduce it or the information is limited label Mar 8, 2025
Copy link

dosubot bot commented Mar 8, 2025

I found some similar threads that might help with your issue:

  1. Open Issue: Users have reported similar problems with plugin installation failures due to dependency issues. A suggested solution is to set the PIP_MIRROR_URL environment variable within the plugin_daemon container to a reliable mirror source, such as 'https://pypi.tuna.tsinghua.edu.cn/simple'. This has been confirmed to resolve the issue for multiple users [1].

  2. Closed Issue: Another solution involves increasing the Python environment initialization timeout by adding PYTHON_ENV_INIT_TIMEOUT: 2400 to your docker-compose.yaml file. This can help if you encounter plugin initialization timeout issues [2].

These solutions should help address the dependency installation failures you're experiencing.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 cant-reproduce We can not reproduce it or the information is limited
Projects
None yet
Development

No branches or pull requests

1 participant