首页 > 解决方案 > Heroku 构建失败并显示“推送被拒绝,无法编译 Python 应用程序”。

问题描述

还有其他人在将 python 应用程序部署到 heroku 时遇到问题吗?

我尝试部署已成功部署的应用程序的先前版本,但仍然出现此错误。

remote: -----> Python app detected
remote: -----> Installing python-2.7.16
remote: -----> Installing pip
remote: -----> Installing dependencies with Pipenv 2018.5.18…
remote: Installing dependencies from Pipfile.lock (d06116)…
remote: -----> Installing SQLite3
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: !   Push rejected to nursefly.
remote:

有什么方法可以获取有关构建失败原因的更多调试信息?

标签: pythonheroku

解决方案


推荐阅读