每次我尝试部署我的机器人时,它都会向我显示此错误:
-----> 在 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
我该怎么办?
简单的修复:TXT 文件的名称拼写错误,所以我修复了它,之后工作正常。