Python Django:git推送heroku主机失败
我第一次尝试将django web应用程序推送到heroku,出现如下错误消息Python Django:git推送heroku主机失败,python,django,heroku,Python,Django,Heroku,我第一次尝试将django web应用程序推送到heroku,出现如下错误消息 Delta compression using up to 4 threads. Compressing objects: 100% (68/68), done. Writing objects: 100% (81/81), 105.31 KiB | 0 bytes/s, done. Total 81 (delta 7), reused 0 (delta 0) remote: Compressing source f
Delta compression using up to 4 threads.
Compressing objects: 100% (68/68), done.
Writing objects: 100% (81/81), 105.31 KiB | 0 bytes/s, done.
Total 81 (delta 7), 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
(cedar-14).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/pytho
n-support
remote:
remote: ! Push rejected, failed to compile Python app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to polar-lake-12528.
remote:
To https://git.heroku.com/polar-lake-12528.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/polar-lake-12528.git'
My runtime.txt看起来像:
python-3.5.1
我已经更改为小写,并将python版本更新为3.5.1,但仍然不起作用。不支持python 3.5.0。您可以将其更改为
python-3.5.1
有关支持的运行时,请参阅。我已经更新了python版本,但heroku仍然检测到python 3.5.0。将runtime.txt更改为python-3.5.1后,它将不起作用。