【发布时间】:2017-12-30 19:36:19
【问题描述】:
我试图在 ubuntu 14.04、python 2.7 上从源代码安装 tensorflow。 我按照“tensorflow.org”中的步骤进行源代码安装。 我已经完成了所有步骤,例如 bazel 安装,python 依赖项安装。 在 sudo pip 安装的最后一步;命令如下:-
$sudo pip install /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl
但我收到如下错误:
Unpacking /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl
Downloading/unpacking tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Cleaning up...
No distributions at all found for tensorflow-tensorboard (from tensorflow==1.3.0rc0)
Storing debug log for failure in /home/ubuntu/.pip/pip.log
我还检查了 tensorflow_pkg 轮:但上面的包在那里不可用。 所以可以使用 pip 安装不同的 .whl,例如 -tensorflow-1.2.1-cp27-none-linux_x86_64.whl 已下载到我的桌面。
请告诉我如何解决这个问题。
感谢和问候
【问题讨论】:
标签: python-2.7 ubuntu tensorflow