3
我正在部署一個使用heroku雲平臺的django項目。我在requirements.txt文件中添加了依賴關係。但是,當我推到heroku高手,我得到以下錯誤:在Heroku中找不到滿足要求tensorflow == 1.0.0的版本
Collecting tensorflow==1.0.0 (from -r /tmp/build_bc8be989466414998410d3ef4c97a115/requirements.txt (line 17))
remote: Could not find a version that satisfies the requirement tensorflow==1.0.0 (from -r /tmp/build_bc8be989466414998410d3ef4c97a115/requirements.txt (line 17)) (from versions:)
remote: No matching distribution found for tensorflow==1.0.0 (from -r /tmp/build_bc8be989466414998410d3ef4c97a115/requirements.txt (line 17))
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy....
remote:
remote: ! Push rejected to what-the-image.
remote:
我使用Django v 1.10和python 2.7。我會在哪裏出錯?
謝謝。它的工作:) – Deesha
Dafuq?你能解釋一下這是怎麼回事嗎?此外,謝謝,它的工作:-) – LoremIpsum
增加了答案的信息。愛上一種語言,你可以用雞蛋比較輪子:) –