Skip to content

package version conflict #1091

@samyzhh

Description

@samyzhh

Today I updated the latest code, but the update package file reported the following error. I don't know if it's my problem

`Collecting triton==3.2.0 (from torch==2.6.0+cu118->-r requirements.txt (line 20))
Using cached https://download.pytorch.org/whl/triton-3.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.4 kB)
Requirement already satisfied: sympy==1.13.1 in /home/samy/.local/lib/python3.10/site-packages (from torch==2.6.0+cu118->-r requirements.txt (line 20)) (1.13.1)
INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.
Collecting torchvision==0.20.1 (from -r requirements.txt (line 22))
Using cached https://mirrors.aliyun.com/pypi/packages/a2/f6/7ff89a9f8703f623f5664afd66c8600e3f09fe188e1e0b7e6f9a8617f865/torchvision-0.20.1-cp310-cp310-manylinux1_x86_64.whl (7.2 MB)
ERROR: Cannot install -r requirements.txt (line 22), torch==2.6.0+cu118 and torchvision==0.20.1+cu118 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested torch==2.6.0+cu118
torchvision 0.20.1+cu118 depends on torch==2.5.1
The user requested torch==2.6.0+cu118
torchvision 0.20.1 depends on torch==2.5.1

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions