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:
remote: -----> App is not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildp...
remote: More info: https://devcenter.heroku.com/articles/buildpacks#d...
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to mitus.
remote:
To https://git.heroku.com/mitus.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/mitus.git'
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