【发布时间】:2017-10-29 04:49:00
【问题描述】:
我正在尝试将 project 部署到 heroku,但出现此错误:-
Counting objects: 70, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (64/64), done.
Writing objects: 100% (70/70), 17.36 KiB | 0 bytes/s, done.
Total 70 (delta 23), reused 3 (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...
如果您访问我的 github project,我拥有 heroku 项目所需的一切,包括 runtime.txt 文件,但我仍然收到此错误。我尝试更改 Heroku 支持的不同 python 版本,但仍然出现相同的错误。谁能帮帮我?
如果我添加一个 buildpack,那么我会收到以下错误
Counting objects: 70, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (64/64), done.
Writing objects: 100% (70/70), 17.36 KiB | 0 bytes/s, done.
Total 70 (delta 23), reused 3 (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/python.tgz buildpack
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
不知道哪里出错了?
【问题讨论】:
标签: python django git heroku python-3.5