@KirSupi

Ошибка при загрузке телеграм бота на Heroku. Как решить?

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'
  • Вопрос задан
  • 172 просмотра
Пригласить эксперта
Ответы на вопрос 1
Выполнены ли требования для применения buildpack?
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.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы