S
S
SHADRIN2019-03-18 19:10:15
Python
SHADRIN, 2019-03-18 19:10:15

Heroku: app not compatible with buildpack, how to solve?

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 6 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 7.99 KiB | 2.66 MiB/s, done.
Total 5 (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/buildpacks/heroku/python.tgz
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to sih4x.
remote:
To https://git.heroku.com/sih4x.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sih4x.git'

There is requirements.txt
pyTelegramBotAPI==3.6.6
telegram==0.0.1

There is a runtime.txt
"python-3.7.0"
Launched heroku buildpacks:set heroku/python
I also completely deleted the bot and made 1 button "ala check" mb swears because of the libraries, but nothing happened.
I used Pyton 3.7.2, then I started using Python 3.7.0, nothing helps, I don’t know what else I can think of ((((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanos, 2020-11-07
@shadrin_ss

In the runtime.txt file, specify " python-3.7.0 " without the quotes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question