Failed to install plugin with custom Pypi Mirror for #13

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

Originally created by @bowenliang123 on GitHub (Feb 27, 2025).

  • Failed to install plugin with custom Pypi Mirror, set via PIP_MIRROR_URL env variable, eg: PIP_MIRROR_URL: ${PIP_MIRROR_URL:-http://pypi.gf.com/simple}

  • neither http nor https URL pass the plugin installation

  • error logs from dify plugin daemon docker container:

2025/02/28 01:24:31 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai:0.0.8
2025/02/28 01:24:33 environment_python.go:150: [INFO]installing langgenius/openai:0.0.8 - Looking in indexes: http://pypi.gf.com/simple

2025/02/28 01:24:33 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, 
output: WARNING: The repository located at pypi.gf.com is not a trusted or secure host and is being ignored. If this 
repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it 
anyway with '--trusted-host pypi.gf.com'.
ERROR: Could not find a version that satisfies the requirement dify_plugin~=0.0.1b66 (from versions: none)
ERROR: No matching distribution found for dify_plugin~=0.0.1b66
, retry in 30s
Originally created by @bowenliang123 on GitHub (Feb 27, 2025). - Failed to install plugin with custom Pypi Mirror, set via PIP_MIRROR_URL env variable, eg: `PIP_MIRROR_URL: ${PIP_MIRROR_URL:-http://pypi.gf.com/simple}` - neither http nor https URL pass the plugin installation - error logs from dify plugin daemon docker container: ``` 2025/02/28 01:24:31 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai:0.0.8 2025/02/28 01:24:33 environment_python.go:150: [INFO]installing langgenius/openai:0.0.8 - Looking in indexes: http://pypi.gf.com/simple 2025/02/28 01:24:33 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at pypi.gf.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.gf.com'. ERROR: Could not find a version that satisfies the requirement dify_plugin~=0.0.1b66 (from versions: none) ERROR: No matching distribution found for dify_plugin~=0.0.1b66 , retry in 30s ```
yindo closed this issue 2026-02-16 00:19:02 -05:00
Author
Owner

@lsqtongxin commented on GitHub (Mar 14, 2025):

first, download the dependencies in the internet
sencond, copy to your local network
third, use the twine library upload the dependencies to the custom Pypi Mirror,for example nexus repository.

@lsqtongxin commented on GitHub (Mar 14, 2025): first, download the dependencies in the internet sencond, copy to your local network third, use the twine library upload the dependencies to the custom Pypi Mirror,for example nexus repository.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#13