【问题标题】:Unsupported runtime Python-3.7.2 with heroku-18 stack不支持的运行时 Python-3.7.2 和 heroku-18 堆栈
【发布时间】:2019-08-08 05:02:54
【问题描述】:

我按照所有步骤在 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.

【问题讨论】:

    标签: django python-3.x heroku


    【解决方案1】:

    您的runtime.txt 似乎包含此内容,大写为P

    Python-3.7.2
    

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

    python-3.7.2
    

    【讨论】:

      猜你喜欢
      • 2019-09-13
      • 1970-01-01
      • 1970-01-01
      • 2021-01-10
      • 1970-01-01
      • 1970-01-01
      • 2019-04-16
      • 2020-08-07
      • 1970-01-01
      相关资源
      最近更新 更多