[GH-ISSUE #113] pip install -e .[gradio] fails due to version mismatches #82

Closed
opened 2026-10-26 21:11:47 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @wrharper on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/113

What is the safe way to resolve this?

ERROR: Cannot install janus[gradio]==1.0.0, rich-toolkit and rich==13.9.4 because these package versions have conflicting dependencies.

The conflict is caused by:
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.9.4 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.9.3 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.9.2 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.9.1 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.9.0 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.8.1 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.8.0 depends on pygments<3.0.0 and >=2.13.0
janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio"
rich 13.7.1 depends on pygments<3.0.0 and >=2.13.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Originally created by @wrharper on GitHub (Jan 31, 2025). Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/113 What is the safe way to resolve this? ERROR: Cannot install janus[gradio]==1.0.0, rich-toolkit and rich==13.9.4 because these package versions have conflicting dependencies. The conflict is caused by: janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.9.4 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.9.3 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.9.2 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.9.1 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.9.0 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.8.1 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.8.0 depends on pygments<3.0.0 and >=2.13.0 janus[gradio] 1.0.0 depends on Pygments==2.12.0; extra == "gradio" rich 13.7.1 depends on pygments<3.0.0 and >=2.13.0 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip to attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Author
Owner

@wrharper commented on GitHub (Jan 31, 2025):

wrong version of python. 3.9 seems to work better.

<!-- gh-comment-id:2626949970 --> @wrharper commented on GitHub (Jan 31, 2025): wrong version of python. 3.9 seems to work better.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/Janus#82
No description provided.