Herokuでデプロイおよびブランチに失敗する
解決したいこと
Herokuにてデプロイしたいのですが、エラーが出ます。
発生している問題・エラー
-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Python app detected
-----> Using Python version specified in runtime.txt
! Requested runtime (Python-3.9.6) is not available for this stack (heroku-20).
! Aborting. More info: https://devcenter.heroku.com/articles/python-support
! Push rejected, failed to compile Python app.
! Push failed
自分で試したこと
Herokuのバージョンが20で対応していないみたいで、Githubでruntime.txtを書き直しをしたり、HerokuのPythonサポートサイトを見たりしてデプロイしても同じエラーが何度も出ます。
0 likes