远程:-----> Python应用检测到远程:!请求的运行时(Python 3.6.4)不适用于此堆栈(heroku-18)

时间:2018-12-15 16:47:26

标签: python django heroku heroku-cli

remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote:  !     Requested runtime (Python 3.6.4) 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 sreeman-billing.
remote:
To https://git.heroku.com/sreeman-billing.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sreeman-billing.git'

我找到了这个问题的很多答案,所以我将版本更改为heroku支持的稳定版本,但是heruko不会从运行时文件中获取版本,而是自动检测版本 请有人可以建议我采取任何措施

0 个答案:

没有答案