DEV Community

Discussion on: Requested runtime (Python 3.7.3) is not available for this stack (heroku-18).

Collapse
 
highcenburg profile image
Vicente G. Reyes

Do you mind posting your Procfile? If I'm not mistaken, it should be

web: gunicorn app_name:app --log-file -

Don't forget to replace the name of your app on app_name.

Also don't forget to freeze your requirements

pip freeze > requirements.txt

You can check this video. It teaches you 5 ways to deploy a python web app.

Collapse
 
hrhazerq profile image
Harbdul_ Rhazerq

Thanks for your assistance bro. The problem was the requirements were not complete.

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

I'm glad you were able to solve this. Cheers!

Thread Thread
 
himanshunikhare profile image
Himanshu Nikhare

Thnks for this