python - 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:
有什么方法可以获取有关构建失败原因的更多调试信息?
解决方案
推荐阅读
- gradle - Gradle Ear 插件不应将资源复制到 .ear 根目录
- python - 如何在初始化时读取变量的名称并将其存储在 python 中的描述符类中?
- slack - 如何在 slack slash 命令中表示用户?
- python - 通过添加新行来更新熊猫数据框 - 如何?
- powershell - 在尝试的结果PowerShell中修改foreach循环中if的结果
- angular - BrowserModule 已经加载完毕,创建懒加载模块
- python - 如何通过 matplotlib 中的鼠标单击事件更改条形图的颜色?
- python - 仅保留所有值都满足条件的组
- r - 根据特定约束计算排列
- oracle - 为什么我们必须在备份完整数据库后备份归档日志