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

Error in version conflict between dependencies. #1

Open
Samar-080301 opened this issue Mar 22, 2023 · 1 comment
Open

Error in version conflict between dependencies. #1

Samar-080301 opened this issue Mar 22, 2023 · 1 comment

Comments

@Samar-080301
Copy link

I tried installing the required packages via pip3 install -r requirement.txt but it returned an error as.

ERROR: Cannot install -r requirements.txt (line 14), -r requirements.txt (line 20), -r requirements.txt (line 21), -r requirements.txt (line 26), -r requirements.txt (line 35), -r requirements.txt (line 36), numpy==1.19.0 and tensorflow==2.3.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==1.19.0
    h5py 2.10.0 depends on numpy>=1.7
    keras-applications 1.0.8 depends on numpy>=1.9.1
    keras-preprocessing 1.1.2 depends on numpy>=1.9.1
    opt-einsum 3.2.1 depends on numpy>=1.7
    scikit-learn 0.23.1 depends on numpy>=1.13.3
    scipy 1.5.1 depends on numpy>=1.14.5
    tensorflow 2.3.1 depends on numpy<1.19.0 and >=1.16.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 attempt to solve the dependency conflict

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

Please help me in resolving this conflict, almost every package is having a version issue.

@Karanmehra7107
Copy link
Owner

Karanmehra7107 commented Mar 22, 2023 via email

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

No branches or pull requests

2 participants