M
M
Maxim Belozerov2021-08-30 10:55:31
Python
Maxim Belozerov, 2021-08-30 10:55:31

How to fix program language detection errors on Heroku?

Hello! I have a telegram bot that I want to run on heroku via git.
I did everything as in the video, but heroku writes that it cannot determine the language of the project.
How can I get rid of this error?

Procfile:
worker: python n.py

Git:
612c8dcfa7232140533147.png

requirements.txt:
future==0.18.2
mp3-tagger==1.0
beautifulsoup4==4.9.3
moviepy==1.0.3
pyTelegramBotAPI==3.8.3
youtube_dl==2021.6.6
requests==2.26.0

heroku:
612c8e91c1115320209840.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksandr, 2021-08-30
@Python_py

The *.py file must have the first line lang="python"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question