`Error loading telegram bot on Heroku. How to decide?
K
K
KirSupi2019-07-14 13:53:02
Python
KirSupi, 2019-07-14 13:53:02

Error loading telegram bot on Heroku. How to decide?

C:\Users\Lol\Desktop\ebaebat`\bottelega\test>git push heroku master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 6.36 KiB | 1.27 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App 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 test.
remote:
To https://git.heroku.com/test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ' https://git.heroku.com/test.git '

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-07-14
@Zarom

Are the requirements for applying the buildpack met?

A requirements.txt must be present at the root of your application's repository to deploy.
To specify your python version, you also need a runtime.txt file - unless you are using the default Python runtime version.
Current default Python Runtime: Python 3.6.7
alternatively, you can provide a setup.py file, or a Pipfile. Using Pipenv will generate runtime.txt based on python-version at build time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question