带有heroku-18堆栈的不受支持的运行时Python-3.7.2

时间:2019-03-17 19:26:21

标签: django python-3.x heroku

我按照所有步骤在Heroku上部署Python / Django应用程序,但是出现以下错误:

remote:  !     Requested runtime (Python-3.7.2) is not available for this stack (heroku-18).
remote:  !     Aborting.  More info: https://devcenter.heroku.com/articles/python-support
remote:  !     Push rejected, failed to compile Python app.

1 个答案:

答案 0 :(得分:0)

您的runtime.txt似乎包含大写字母P

Python-3.7.2

将其更改为小写,如supported runtimes page所示,然后再次部署:

python-3.7.2