install plugin fail #36

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

Originally created by @momomobinx on GitHub (Mar 11, 2025).

.env

...
PIP_MIRROR_URL=http://10.159.1.2:8081/repository/proxy-python/simple
PIP_EXTRA_ARGS=--trusted-host 10.159.1.2:8081

log

2025/03/11 06:45:52 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.7
2025/03/11 06:45:52 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/huggingface_tei:0.0.3
2025/03/11 06:45:56 environment_python.go:150: [INFO]installing langgenius/openai_api_compatible:0.0.7 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple

2025/03/11 06:45:56 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'.
ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none)
ERROR: No matching distribution found for dify_plugin==0.0.1b65
, retry in 30s
2025/03/11 06:45:56 environment_python.go:150: [INFO]installing langgenius/huggingface_tei:0.0.3 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple

2025/03/11 06:45:56 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'.
ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none)
ERROR: No matching distribution found for dify_plugin==0.0.1b65
, retry in 30s
2025/03/11 06:46:10 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/echarts:0.0.1
2025/03/11 06:46:14 environment_python.go:150: [INFO]installing langgenius/echarts:0.0.1 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple

2025/03/11 06:46:14 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'.
ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none)
ERROR: No matching distribution found for dify_plugin==0.0.1b65
, retry in 30s
2025/03/11 06:46:26 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.7
2025/03/11 06:46:26 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/huggingface_tei:0.0.3
2025/03/11 06:46:30 environment_python.go:150: [INFO]installing langgenius/openai_api_compatible:0.0.7 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple

2025/03/11 06:46:30 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'.
ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none)
ERROR: No matching distribution found for dify_plugin==0.0.1b65
, retry in 30s
2025/03/11 06:46:30 environment_python.go:150: [INFO]installing langgenius/huggingface_tei:0.0.3 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple

2025/03/11 06:46:30 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'.
ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none)
ERROR: No matching distribution found for dify_plugin==0.0.1b65

PIP_EXTRA_ARGS seem not work

Originally created by @momomobinx on GitHub (Mar 11, 2025). .env ``` ... PIP_MIRROR_URL=http://10.159.1.2:8081/repository/proxy-python/simple PIP_EXTRA_ARGS=--trusted-host 10.159.1.2:8081 ``` log ``` 2025/03/11 06:45:52 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.7 2025/03/11 06:45:52 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/huggingface_tei:0.0.3 2025/03/11 06:45:56 environment_python.go:150: [INFO]installing langgenius/openai_api_compatible:0.0.7 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple 2025/03/11 06:45:56 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'. ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none) ERROR: No matching distribution found for dify_plugin==0.0.1b65 , retry in 30s 2025/03/11 06:45:56 environment_python.go:150: [INFO]installing langgenius/huggingface_tei:0.0.3 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple 2025/03/11 06:45:56 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'. ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none) ERROR: No matching distribution found for dify_plugin==0.0.1b65 , retry in 30s 2025/03/11 06:46:10 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/echarts:0.0.1 2025/03/11 06:46:14 environment_python.go:150: [INFO]installing langgenius/echarts:0.0.1 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple 2025/03/11 06:46:14 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'. ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none) ERROR: No matching distribution found for dify_plugin==0.0.1b65 , retry in 30s 2025/03/11 06:46:26 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.7 2025/03/11 06:46:26 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/huggingface_tei:0.0.3 2025/03/11 06:46:30 environment_python.go:150: [INFO]installing langgenius/openai_api_compatible:0.0.7 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple 2025/03/11 06:46:30 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'. ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none) ERROR: No matching distribution found for dify_plugin==0.0.1b65 , retry in 30s 2025/03/11 06:46:30 environment_python.go:150: [INFO]installing langgenius/huggingface_tei:0.0.3 - Looking in indexes: http://10.159.1.2:8081/repository/proxy-python/simple 2025/03/11 06:46:30 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 1, output: WARNING: The repository located at 10.159.1.2 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 10.159.1.2'. ERROR: Could not find a version that satisfies the requirement dify_plugin==0.0.1b65 (from versions: none) ERROR: No matching distribution found for dify_plugin==0.0.1b65 ``` PIP_EXTRA_ARGS seem not work
yindo closed this issue 2026-02-16 00:19:17 -05:00
Author
Owner

@momomobinx commented on GitHub (Mar 11, 2025):

It turns out that version 0.0.3 does not have PIP_EXTRA_ARGS environment variable support

@momomobinx commented on GitHub (Mar 11, 2025): It turns out that version 0.0.3 does not have PIP_EXTRA_ARGS environment variable support
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#36