dify - 💡(How to fix) Fix Custom dify plugin error bug [12 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35463Fetched 2026-04-22 08:04:03
View on GitHub
Comments
12
Participants
3
Timeline
27
Reactions
1
Author
Timeline (top)
commented ×12mentioned ×6subscribed ×6labeled ×2

Error Message

Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment

Root Cause

Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment

RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.13.0

Cloud or Self Hosted

Cloud

Steps to reproduce

Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment

✔️ Expected Behavior

Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment

❌ Actual Behavior

Custom dify plugin error bug is : OpenAI-API-likefailed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.9.26 DEBUG Acquired shared lock for /root/.cache/uv DEBUG Found project root: /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 DEBUG No workspace root found, using project root DEBUG Acquired exclusive lock for /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469 D...penai-api-like-gnrzr6cey depends on black>=25.1.0, we can conclude that openai-api-like-gnrzr6cey's requirements are unsatisfiable. And because your project requires openai-api-like-gnrzr6cey, we can conclude that your project's requirements are unsatisfiable. DEBUG Released lock at /app/storage/cwd/lcjx/openai_api_like-0.0.35@4fa19323d7958d2d468864cda10855e81c9fe28f79341e95c6a8a76b534eb469/.venv/.lock DEBUG Released lock at /root/.cache/uv/.lock failed to init environment

extent analysis

TL;DR

The custom Dify plugin fails to launch due to unsatisfiable dependencies, specifically requiring black>=25.1.0, which cannot be installed.

Guidance

  1. Check the plugin's dependencies: Verify that the openai-api-like plugin's dependencies are correctly specified and compatible with the current environment.
  2. Update or modify the plugin's requirements: Consider updating the plugin to use a compatible version of black or modifying the requirements to allow for a broader range of versions.
  3. Verify the environment's package versions: Ensure that the environment has the necessary packages installed and that their versions are compatible with the plugin's requirements.
  4. Check for conflicts with other plugins: If other plugins are installed, check for potential conflicts or incompatible dependencies that may be causing the issue.

Example

No code snippet is provided as the issue seems to be related to dependency management rather than code syntax.

Notes

The issue appears to be related to a specific plugin and its dependencies, so the solution may require modifications to the plugin or the environment's configuration. Further investigation into the plugin's code and the environment's setup may be necessary to resolve the issue.

Recommendation

Apply a workaround by modifying the plugin's requirements or updating the environment's packages to ensure compatibility. This may involve updating the black package to a version compatible with the plugin's requirements or modifying the plugin to use a different package.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix Custom dify plugin error bug [12 comments, 3 participants]