How to deploy a Python bot on heroky?

C:\Users\Aleksandr\PycharmProjects\tori>git push heroku master
Counting objects: 22, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (22/22), 6.92 KiB | 191.00 KiB/s, done.
Total 22 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: -----> App is not compatible with buildpack:
remote: More info:
remote: ! Push failed
remote: Verifying deploy...
remote: ! Push rejected to mitus.
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ''
Tell me how to fix it, please.
And how to make the Procle
April 3rd 20 at 17:34
1 answer
April 3rd 20 at 17:36
Go to the settings app on heroku and choose heroku/python buildpack
add runtime.txt with the line python-3.7.5
In line Procle web: <the team running the script if this is the finished app, or run through a third-party server, such as gunicorn>

Find more questions by tags PythonHerokuTelegram