【发布时间】:2013-03-04 21:18:18
【问题描述】:
当我推送到 master 时,发生了这种情况:
Counting objects: 1, done.
Writing objects: 100% (1/1), 186 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Python app detected
-----> Preparing Python runtime (python-2.7.3)
-----> Installing Distribute (0.6.35)
-----> Installing Pip (1.3.1)
-----> Installing dependencies using Pip (1.3.1)
/tmp/buildpack_12iaablbmqzbb/bin/compile: line 164: /app/.heroku/python/bin/pip: No such file or directory
! Heroku push rejected, failed to compile Python app
To git@heroku.com:xxxxxxxxxx.git
! [remote rejected] master -> master (pre-receive hook declined)
为了清楚起见,我指定了构建包,因为由于 Gemfile 的存在,heroku 错误地将我的 python 应用程序检测为 ruby 应用程序。
这是我从heroku config提取的配置
BUILDPACK_URL: https://github.com/heroku/heroku-buildpack-python
但这无法编译我的应用程序,我该如何真正解决这个问题?
谢谢。
【问题讨论】: