【发布时间】:2017-07-08 19:20:09
【问题描述】:
我正在使用 heroku 云平台部署一个 django 项目。我在 requirements.txt 文件中添加了依赖项。但是,当我推送到 heroku master 时,出现以下错误:
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。我哪里会出错?
【问题讨论】: