Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

resolved dependency issues #28

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

Conversation

progressEdd
Copy link

Hello,
I ran into issues with while trying to run through step 3 of the installation

python3 -m pip install -r requirements.txt

I am using a conda environment with python 3.8.8 on Fedora Linux, so these were the errors and solutions I encountered.

ERROR: Cannot install -r requirements.txt (line 41) and urllib3==1.25.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    ...
    ...

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/user_guide/#fixing-conflicting-dependencies

Errors and Solutions

This section is my notes I wrote while resolving dependency issues. The changes are in the commit

The conflict is caused by:
    The user requested urllib3==1.25.0
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

Replaced with urllib3==1.24.0

The conflict is caused by:
    The user requested opt-einsum==3.2.1
    tensorflow 2.5.1 depends on opt-einsum~=3.3.0

Replaced with opt-einsum==3.3.0

The conflict is caused by:
    The user requested numpy==1.18.5
    gluoncv 0.7.0 depends on numpy
    h5py 2.10.0 depends on numpy>=1.7
    imageio 2.9.0 depends on numpy
    keras-preprocessing 1.1.2 depends on numpy>=1.9.1
    matplotlib 3.2.2 depends on numpy>=1.11
    mxnet 1.6.0 depends on numpy<2.0.0 and >1.16.0
    opencv-python 4.3.0.36 depends on numpy>=1.17.3
    opt-einsum 3.3.0 depends on numpy>=1.7
    pywavelets 1.1.1 depends on numpy>=1.13.3
    scikit-image 0.17.2 depends on numpy>=1.15.1
    scipy 1.4.1 depends on numpy>=1.13.3
    tensorboard 2.2.2 depends on numpy>=1.12.0
    tensorflow 2.5.1 depends on numpy~=1.19.2

Replaced with numpy

The conflict is caused by:
    The user requested grpcio==1.30.0
    tensorboard 2.2.2 depends on grpcio>=1.24.3
    tensorflow 2.5.1 depends on grpcio~=1.34.0

Replaced with grpcio==1.34.0

The conflict is caused by:
    The user requested gast==0.3.3
    tensorflow 2.5.1 depends on gast==0.4.0

Replaced with gast==0.4.0

The conflict is caused by:
    The user requested tensorflow-estimator==2.2.0
    tensorflow 2.5.1 depends on tensorflow-estimator<2.6.0 and >=2.5.0

Replaced with tensorflow-estimator==2.5.0

The conflict is caused by:
    The user requested h5py==2.10.0
    tensorflow 2.5.1 depends on h5py~=3.1.0

Replaced with h5py==3.1.0

The conflict is caused by:
    The user requested tensorboard==2.2.2
    tensorflow 2.5.1 depends on tensorboard~=2.5

Replaced with tensorboard==2.5

The conflict is caused by:
    The user requested absl-py==0.9.0
    tensorboard 2.5.0 depends on absl-py>=0.4
    tensorflow 2.5.1 depends on absl-py~=0.10

Replaced with absl-py==0.10

spyder 4.2.5 requires pyqt5<5.13, which is not installed.
spyder 4.2.5 requires pyqtwebengine<5.13, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.9.1 requires ruamel-yaml, which is not installed.

Added PyQt5==5.15.4 to requirements

see issue thread for reasoning
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant