heroku - 当我尝试提交我的机器人时,为什么会出现错误?
问题描述
我正在使用 heroku,我正在尝试部署我的文件,但我不断收到此错误:
$ git push heroku master
Enumerating objects: 13, done.
Counting objects: 100% (13/13), done.
Delta compression using up to 16 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (13/13), 1.75 KiB | 893.00 KiB/s, done.
Total 13 (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: -----> 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 botver2554.
remote:
To https://git.heroku.com/botver2554.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/botver2554.git'
我可以帮忙吗?这与建议的问题不同,因为我遇到了 buildpack 错误,而且我不知道它是什么。
解决方案
It was the stupidest thing. I watched an outdated tutorial that said put no extension after requirements then I looked that you needed a requirements.txt file to continue.
推荐阅读
- java - 读取和比较两个大文件
- oracle - Oracle ORA -932 预期数字得到 CHAR
- discord.py - 我在 discord.py 中搜索货币代码有什么问题
- mysql - 谷歌动态图表不使用 JSON 加载数据
- node.js - 基于条带处理程序的服务器端增强型电子商务事件没有记录交易
- java - Java OKhttp 身份验证异常:无法通过代理进行身份验证
- python - 机器人框架 uac windows 10
- vue.js - Vue 3 中的 Draggable 不会显示值
- c# - 在 cosmos DB 中显示日期
- ubuntu - 从 Ubuntu 20.04 连接时 Citrix Workspace SSL 错误 61