【发布时间】:2020-02-19 14:27:38
【问题描述】:
我正在尝试在我的 heroku 上运行一个 python 文件。我尝试不设置构建包以及设置一个,但似乎都不起作用。我的分支中唯一的文件是 .py 和 .git 文件夹 这是一个错误示例:
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 590 bytes | 590.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! No default language could be detected for this app.
remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote: See https://devcenter.heroku.com/articles/buildpacks
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to google-results.
remote:
【问题讨论】: