我是Django和heroku的新手,在将我的应用发布到heroku时遇到了问题。我得到的错误是:
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to shielded-lake-72150.
remote:
To https://git.heroku.com/shielded-lake-72150.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/shielded-lake-72150.git'
我在线尝试了很多解决方案,但没有任何效果。我甚至将buildpack设置为python并添加了requirements.txt文件。但它仍然显示我同样的错误。任何帮助表示感谢,谢谢。