Heroku 无法部署 Python Discord 机器人

问题描述 投票:0回答:1

每次我尝试部署我的机器人时,它都会向我显示此错误:

-----> 在 Heroku-20 堆栈上构建 -----> 使用构建包:heroku/python -----> 应用程序与 buildpack 不兼容:https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz 更多信息:https://devcenter.heroku.com/articles/buildpacks#detection-failure !推送失败

我有 Procfile、requirements.txt、runtime.txt。

需求.txt:

不和谐

运行时.txt:

python-3.10.3

我该怎么办?

python heroku
1个回答
0
投票

简单的修复:TXT 文件的名称拼写错误,所以我修复了它,之后工作正常。

© www.soinside.com 2019 - 2024. All rights reserved.