无法在Python中检测到set buildpack

时间:2016-12-24 22:19:48

标签: python heroku flask

我是python Flask的新手,我试图将我的应用推向Heroku。我已经在根目录中包含了requirements.txt文件和Procfile。但我不断收到这条消息:

remote: -----> Failed to detect set buildpack https://codon-buildpacks.s3.amazon   aws.com/buildpacks/heroku/python.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-fa   ilure
remote:
remote:  !     Push failed
remote: Verifying deploy....
remote:
remote: !       Push rejected to fathomless-taiga-95236.
remote:
To https://git.heroku.com/fathomless-taiga-95236.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/fathomless-taiga-9523            
6.git'

0 个答案:

没有答案
相关问题