Skip to content

Error in version conflict between dependencies. #1

@samar-080301

Description

@samar-080301

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.

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