【发布时间】:2019-07-26 08:38:42
【问题描述】:
我正在使用 Django 2.2.3,但出现此错误:
Requested runtime (Python-3.7.3) is not available for this stack (heroku-18)
但是,Heroku's Python documentation 表示 python-3.7.3 应该在堆栈 heroku-18 中可用。
runtime.txt 包含Python-3.7.3。
完全错误
Counting objects: 100% (43/43), done.
Delta compression using up to 4 threads
Compressing objects: 100% (36/36), done.
Writing objects: 100% (43/43), 10.70 KiB | 996.00 KiB/s, done.
Total 43 (delta 6), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: ! Requested runtime (Python-3.7.3) 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.
remote:
remote: ! Push failed
【问题讨论】:
标签: python django heroku runtime-error