practical-recommender-systems / moviegeek

A django website used in the book Practical Recommender Systems to illustrate how recommender algorithms can be implemented.
MIT License
901 stars 360 forks source link

docker container can't be build due to requirements.txt #56

Open leminhds opened 2 years ago

leminhds commented 2 years ago

Here is the error message:

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

7 81.01

7 81.01 The conflict is caused by:

7 81.01 The user requested urllib3==1.26.5

7 81.01 botocore 1.12.45 depends on urllib3<1.25 and >=1.20; python_version >= "3.4"

leminhds commented 2 years ago

this problem is fixed when you revert th requirements.txt back to the commit before the last one

knpwrs commented 1 year ago

Reverting also worked for me:

git checkout HEAD^ -- requirements.txt

It seems that urllib was automatically bumped by dependabot in #43.

DaMenestrel commented 1 year ago

same error but i just put urllib3==1.24 in requirements :)

EricPostMaster commented 1 year ago

I did the same as @DaMenestrel. Just change urllib3 to version 1.24 in requirements.txt, and it works fine.

WeihuaZhu commented 1 year ago

git checkout HEAD^ -- requirements.txt reverting the recent change on urllib3 dependency works!