Skip to content

version conflicts in requirements.txt #1

@astro-lenny

Description

@astro-lenny

Hey together,

I just tried to install a new env for pystructure an d got an error in the versions:

INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 2), numpy==1.22.4 and pandas==2.0.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==1.22.4
    astropy 5.2.2 depends on numpy>=1.20
    matplotlib 3.4.3 depends on numpy>=1.16
    pandas 2.0.3 depends on numpy>=1.21.0; python_version >= "3.10"
    pandas 2.0.3 depends on numpy>=1.23.2; python_version >= "3.11"

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

It worked with numpy==1.23.2

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