heroku: no default language could be detected for this app

后端 未结 11 773
予麋鹿
予麋鹿 2020-12-03 22:40

First time using Heroku. Trying to push. I have run the command:

heroku create --buildpack heroku/python

and it displayed

$ hero         


        
11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 23:31

    One more thing to note is to actually commit your changes to your git repo, before you can push them to Heroku. You might have a requirements.txt setup locally, but if it's not committed to your repo, git push heroku master will not be able to locate it.

提交回复
热议问题