请求的运行时(Python 3.7.2)对此堆栈不可用(heroku18)

2024-04-28 20:29:08 发布

您现在位置:Python中文网/ 问答频道 /正文

django(2.0) 我试图上传我的django应用程序到heroku,但我不能,因为它 表示请求的运行时(Python3.7.2)不可用。在

Counting objects: 100% (1725/1725), done.
Delta compression using up to 4 threads
Compressing objects: 100% (1721/1721), done.
Writing objects: 100% (1725/1725), 9.34 MiB | 21.00 KiB/s, done.
Total 1725 (delta 93), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
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.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to mubashartech.
remote:
To https://git.heroku.com/mubashartech.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/mubashartech.git'

Tags: todjangohttpsgitcomherokuobjectsremote