【发布时间】:2017-06-14 03:36:49
【问题描述】:
我正在尝试在 Heroku 上部署 Flask 应用程序,但运行时出现此错误:
git push heroku master
错误:
Installing requirements with pip
/app/tmp/buildpacks/779a8bbfbbe7e1b715476c0b23fc63a2103b3e4131eda558669aba8fb5e6e05682419376144189b29beb5dee6d7626b4d3385edb0954bffea6c67d8cf622fd51/bin/steps/pip-install: line 7: /app/.heroku/python/bin/pip: No such file or directory
! Push rejected, failed to compile Python app.
! Push failed
我在 runtime.txt 中指定了 python-2.7.13。
【问题讨论】:
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。