[Django]-Could not find a version that satisfies the requirement pkg-resources==0.0.0

128👍

Remove Following line from requirements.txt.

pkg-resources==0.0.0

32👍

To avoid having it in requirements.txt everytime you do a freeze, remove it from your virtual environment with pip uninstall pkg-resources==0.0.0

👤Phares

5👍

Remove pkg-resources==0.0.0 from requirements.txt

if you wish to avoid the problem next time you do a freeze, use pip uninstall pkg-resources==0.0.0

1👍

cat requirements.txt | grep --invert-match pkg-resources | xargs -n 1 pip install

refer to the link for a more detailed write-up:
https://code-specialist.com/python/pkg-resources

0👍

It appears Heroku CLI is using dependencies from a different local branch.
If you are running:

$ git push origin master

to deploy your application on Heroku, ensure that locally you are switched to master branch.

Leave a comment