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

Issues with requirements.txt #75

Open
Konrad1123 opened this issue Jul 3, 2024 · 1 comment
Open

Issues with requirements.txt #75

Konrad1123 opened this issue Jul 3, 2024 · 1 comment

Comments

@Konrad1123
Copy link

Hi,

I have some problems with compatibility of libraries. Do you have a list of libraries that are compatible with each other and will make the site work? Thank u.

@matsair
Copy link

matsair commented Dec 17, 2024

To specify more precisely and to reproduce:

  1. Run docker-compose build web
  2. Get error:
40.44 ERROR: Cannot install -r requirements.txt (line 4) and urllib3==1.26.5 because these package versions have conflicting dependencies.
40.44 
40.44 The conflict is caused by:
40.44     The user requested urllib3==1.26.5
40.44     botocore 1.12.45 depends on urllib3<1.25 and >=1.20; python_version >= "3.4"
40.44 
40.44 To fix this you could try to:
40.44 1. loosen the range of package versions you've specified
40.44 2. remove package versions to allow pip attempt to solve the dependency conflict
40.44 
40.44 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
40.68 
40.68 [notice] A new release of pip is available: 23.0.1 -> 24.3.1
40.68 [notice] To update, run: pip install --upgrade pip
------
failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

Removing the version constraint for urllib3 in requirements.txt is a quick fix for this.

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

2 participants