Im deploying a Django 2.2.1 Project in Heroku but I had this error:
-----> Python app detected
! Requested runtime (Python 3.7.3) is not available for this stack (heroku-18).
! Aborting. More info: https://devcenter.heroku.com/articles/python-support
! Push rejected, failed to compile Python app.
! Push failed
I tried asking a question on SO but it got closed.
Anyone familiar with this?
Top comments (10)
Have you contacted support? They are not super quick to respond if you're on the free tier.
What does your
runtime.txt
file contain?I tried but the page doesnt load😂😂
My runtime.txt contains python-3.7.3
is it "python-3.7.3" or "Python-3.7.3"? Heroku says the name is case sensitive: devcenter.heroku.com/articles/pyth...
its python-3.7.3
The maintenance started at 9:00 EDT and will last 2 hours. This started since this morning(in my time. Its 9:11pm already) haha
any solution? having the same problem but am using flask
Do you mind posting your Procfile? If I'm not mistaken, it should be
Don't forget to replace the name of your app on app_name.
Also don't forget to freeze your requirements
You can check this video. It teaches you 5 ways to deploy a python web app.
Thanks for your assistance bro. The problem was the requirements were not complete.
I'm glad you were able to solve this. Cheers!
Thnks for this