Heroku 错误 - 通过 Heroku/Git 插件部署 python 时“命令出错,退出状态为 1”

时间:2020-12-23 11:31:19

标签: python git heroku compiler-errors command-prompt

当我尝试通过 Heroku/Git 插件部署 python 时,出现此错误:

       ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
 !     Push rejected, failed to compile Python app.
 !     Push failed

完整日志在这里:https://paste.pythondiscord.com/cexofeluha.sql

有人可以帮我吗?错误是什么意思? 我现在多次遇到此错误。我能做什么? 我正在尝试使用 discord.py 机器人。 我没有更多详细信息,我该怎么办?

1 个答案:

答案 0 :(得分:0)

您的 git+https://github.com/MetalManiac1331/raidbot 中有 requirements.txt,但存储库不是可通过 pip 安装的 Python 包 — 它没有 setup.py。目前它根本没有任何 Python 文件。

requirements.txt 中删除那个损坏的包,提交并再次推送。