为什么heroku没有检测到我的python构建?
这是我的回购协议: 每次我尝试在站点上或通过Heroku CLI部署时,Heroku都无法检测到我的构建包为什么heroku没有检测到我的python构建?,python,git,heroku,Python,Git,Heroku,这是我的回购协议: 每次我尝试在站点上或通过Heroku CLI部署时,Heroku都无法检测到我的构建包 Counting objects: 8, done. Delta compression using up to 4 threads. Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8), 1.89 KiB | 0 bytes/s, done. Total 8 (delta 0), reused 0 (del
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.89 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz buildpack
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to me3thx-reddit-bot.
remote:
To https://git.heroku.com/me3thx-reddit-bot.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/me3thx-reddit-bot.git'
我做错了什么?我只在node.js项目中使用了Heroku,因此,我可能遗漏了python项目可能需要的一些东西。每次发生这种情况时,我都会使用
-git push
-->git push--force Heroku master
传递-force参数,然后尝试一下。不起作用。当你尝试它时,你的错误信息是什么?同上我相信你遵循了这个指南:但我只是检查一下。是吗?