0
我需要一些帮助来解决这个问题。我在另一个heroku帐户中有其他网站,但我没有进入我的空帐户。我正在使用python3.5.0(但我试图改变python版本没有成功)和Django 1.10。我在我的git repositore,runtime.txt,procfile.txt,但我有这样的问题:(终端)推送失败heroku
Counting objects: 105, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (97/97), done.
Writing objects: 100% (105/105), 2.22 MiB | 113.00 KiB/s, done.
Total 105 (delta 34), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.5.0
remote: ! Requested runtime (python-3.5.0) is not available for this stack (heroku-16).
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 confiam2.
remote:
To https://git.heroku.com/confiam2.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/
我该如何解决这个问题?我试图更新heroku版本,并更改python版本。没有成功。非常感谢谁能帮助我。
“我试图......改变python版本。”你是怎么做的? – Chris
更改runtime.txt,但我认为我更改为另一个不支持的版本。 – victorcd