无法为此应用检测到默认语言。12

时间:2020-06-08 19:39:22

标签: heroku publish

我正在学习python并构建一个简单的网站。当我尝试推送git时,在托管在heroku上时出现错误。

这是错误:

[Total 0 (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 ashvani.
remote:
To https://git.heroku.com/ashvani.git
 ! \[remote rejected\] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ashvani.git'][1]

这是项目结构:

enter image description here

0 个答案:

没有答案