Skip to content

When I was configuring the environment, an error occurred during the installation of the requirement.txt file. #6

@ChuiLong

Description

@ChuiLong

ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 13), -r requirements.txt (line 18), -r requirements.txt (line 2), -r requirements.txt (line 28), -r requirements.txt (line 36), -r requirements.txt (line 44) and numpy==1.26.4 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested numpy==1.26.4
accelerate 0.27.2 depends on numpy>=1.17
contourpy 1.3.2 depends on numpy>=1.23
deepspeed 0.10.0 depends on numpy
fvcore 0.1.5.post20221221 depends on numpy
imageio 2.37.0 depends on numpy
matplotlib 3.10.5 depends on numpy>=1.23
opencv-python 4.12.0.88 depends on numpy<2.3.0 and >=2; python_version >= "3.9"

Additionally, some packages in these conflicts have no matching distributions available for your environment:
numpy

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions