A
A
anddro4582021-01-22 16:05:39
Python
anddro458, 2021-01-22 16:05:39

Why is Python not being detected by Heroku?

So I wrote a bot in Python, uploaded a folder to GitHub:
600acd6a44dba246638876.png
I go satisfied to Heroku, connect everything, and there:

-----> Building on the Heroku-20 stack
 !     No default language could be detected for this app.
            HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
            See https://devcenter.heroku.com/articles/buildpacks
 !     Push failed

Not buildpack not runtime.txt do not work:
-----> Building on the Heroku-20 stack
-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
       More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
 !     Push failed

How to fix this misunderstanding??

Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lesha, 2021-01-22
@hydrugz

runtime.txt with python version should be in app root directory
https://github.com/heroku/python-getting-started

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question