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

dependency conflict: botocore and urlib3 #70

Open
triumph1 opened this issue Mar 4, 2023 · 2 comments
Open

dependency conflict: botocore and urlib3 #70

triumph1 opened this issue Mar 4, 2023 · 2 comments

Comments

@triumph1
Copy link

triumph1 commented Mar 4, 2023

Hi! thanks for the great book :) I think I found a problem while

pip install -r requirements.txt

image

INFO: pip is looking at multiple versions of boto3 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of boto to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of appdirs to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 4) and urllib3==1.26.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.5
    botocore 1.12.45 depends on urllib3<1.25 and >=1.20; python_version >= "3.4"

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
WARNING: You are using pip version 21.3.1; however, version 23.0.1 is available.
You should consider upgrading via the '/Users/a202101054/PycharmProjects/moviegeek/venv/bin/python -m pip install --upgrade pip' command.

@stagOak
Copy link

stagOak commented Mar 7, 2023

Hi triumph1. I got the same error yesterday. I relaxed the requirement for urllib3 from urllib3==1.26.5 to just urllib3 without a version number and made it through the docker build. This might work for you.

@in8inity
Copy link

in8inity commented Apr 1, 2023

Had same problem in spite of requirement.txt show explicit 1.26.5 version for urllib3. The issue was in co-dependencies. I was able to activate virtual environmet with kiwisolver=1.3.2 and matplotlib = 3.4.3. I haven't run the project yet, but at least it starts environment without issues.

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

3 participants