Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Conflicting dependencies: user requested urllib3==1.26.5, requests 2.20.0 depends on urllib<1.25 #29

Open
ErikLentz opened this issue Jun 29, 2021 · 1 comment · May be fixed by #30
Open

Comments

@ErikLentz
Copy link

pip install -r requirements.txt

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

The conflict is caused by:
The user requested urllib3==1.26.5
requests 2.20.0 depends on urllib3<1.25 and >=1.21.1

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
@nurcholismajid
Copy link

i just removed the version from urllib3==1.26.5 to urllib3 and run again, it's work for me

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 a pull request may close this issue.

2 participants