Khi tôi đẩy để làm chủ, điều này xảy ra:Heroku không thể tìm thấy pip (rất lạ)
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 [email protected]:xxxxxxxxxx.git
! [remote rejected] master -> master (pre-receive hook declined)
Để được rõ ràng, tôi đã chỉ định xây dựng gói, vì Heroku sai phát hiện ứng dụng python của tôi như là ứng dụng ruby do sự tồn tại của Gemfile.
Đây là cấu hình tôi kéo từ heroku config
BUILDPACK_URL: https://github.com/heroku/heroku-buildpack-python
Nhưng điều này không biên dịch ứng dụng của tôi, làm sao tôi có thể thực sự giải quyết này?
Cảm ơn.
trùng lặp có thể xảy ra của http://stackoverflow.com/questions/43819482/i-am-trying-to-deploy-my-first-django-app-on -heroku-and-getting-error-a-pre-rece/43879758 # 43879758 –