My app is deployed on heroku
.
When I push my code via git push heroku master
. It gives me this error
Collecting pkg-resource
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.
Remove Following line from requirements.txt.
pkg-resources==0.0.0
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