Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incompatible dependencies #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ipmb
Copy link

@ipmb ipmb commented Oct 30, 2023

Without this change, I got the following error when trying to install the project:

ERROR: Cannot install -r requirements.txt (line 101), -r requirements.txt (line 102), -r requirements.txt (line 106), -r requirements.txt (line 120), -r requirements.txt (line 17), -r requirements.txt (line 24), -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 44), -r requirements.txt (line 47), -r requirements.txt (line 58), -r requirements.txt (line 65), -r requirements.txt (line 68) and numpy==1.22.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==1.22.3
    mkl-fft 1.3.1 depends on numpy<1.23.0 and >=1.22.3
    bottleneck 1.3.5 depends on numpy
    contourpy 1.0.5 depends on numpy>=1.16
    h5py 3.7.0 depends on numpy>=1.14.5
    imageio 2.19.3 depends on numpy
    matplotlib 3.6.2 depends on numpy>=1.19
    numexpr 2.8.4 depends on numpy>=1.13.3
    pandas 1.5.2 depends on numpy>=1.20.3; python_version < "3.10"
    scikit-learn 1.2.0 depends on numpy>=1.17.3
    scipy 1.9.3 depends on numpy<1.26.0 and >=1.18.5
    tables 3.7.0 depends on numpy>=1.19.0
    xarray 2022.11.0 depends on numpy>=1.20
    mkl-random 1.2.2 depends on numpy<1.25.0 and >=1.24.3

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant