Levman5
@Levman5
print(“Hello World!”)

Heroku ошибка. Что делать?

При развертывании ошибка:
C:\Users\Irina\Desktop\py\tbot2>git push heroku master
Enumerating objects: 10, done.
Counting objects: 100% (10/10), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (10/10), 2.18 KiB | 558.00 KiB/s, done.
Total 10 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Determining which buildpack to use for this app
remote: -----> Python app detected
remote: -----> Using Python version specified in runtime.txt
remote:  !     Requested runtime (python-3.8.2) is not available for this stack
(heroku-20).
remote:  !     Aborting.  More info: https://devcenter.heroku.com/articles/pytho
n-support
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to imageq-bot.
remote:
To https://git.heroku.com/imageq-bot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/imageq-bot.git'

C:\Users\Irina\Desktop\py\tbot2>


Как её убрать?
  • Вопрос задан
  • 660 просмотров
Пригласить эксперта
Ответы на вопрос 2
deepblack
@deepblack
Ты читаешь вывод ошибки или сразу строчишь сюда?

Requested runtime (python-3.8.2) is not available for this stack (heroku-20).


Supported runtimes:
  • python-3.9.6 on all supported stacks
  • python-3.8.11 on all supported stacks
  • python-3.7.11 on all supported stacks
  • python-3.6.14 on all supported stacks
Ответ написан
BorLaze
@BorLaze
Java developer
remote: ! Requested runtime (python-3.8.2) is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support

действительно... что делать? ну, не идти же, и правда, по предложенной ссылке?
Ответ написан
Комментировать
Ваш ответ на вопрос

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

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