Package Version Conflict

60 Views Asked by At

I tried to install all the packages in the requirements.txt file of a python app inside a venv, but two different packages require 2 different versions of request library. How can i resolve this.

ERROR: Cannot install -r requirements.txt (line 53), pyrebase==3.0.27 and requests==2.31.0 because these package versions have conflicting dependencies.

The conflict is caused by:

  1. The user requested requests==2.31.0
  2. navigation 0.1 depends on requests
  3. pyrebase 3.0.27 depends on requests==2.11.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

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

0

There are 0 best solutions below