我在将bot文件推送到heroku时遇到问题

时间:2019-10-06 07:10:44

标签: python heroku

我想将我的机器人推送到heroku(使用TechWithTim的tut),但不知道为什么它不起作用...

我是一个初学者,但我尝试搜索是否一切正常,idk出了什么问题...

C:\Users\PC\Desktop\IGOR\PYTHON\BOTY>git push heroku master

Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 4 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 2.86 KiB | 1.43 MiB/s, done.
Total 8 (delta 1), 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 pomibot.
remote:
To https://git.heroku.com/pomibot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/pomibot.git'

cmd中有错误消息。

0 个答案:

没有答案