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

后端 未结 3 1369
青春惊慌失措
青春惊慌失措 2021-02-05 00:43

My app is deployed on heroku.

When I push my code via git push heroku master. It gives me this error

Collecting pkg-resource         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 01:00

    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.

提交回复
热议问题