首页 文章

张量流的pip安装错误

提问于
浏览
0

我试图在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(如在我的桌面下载的-tensorflow-1.2.1-cp27-none-linux_x86_64.whl)来填充不同的.whl .

请告诉我如何解决这个问题 .

感谢致敬

3 回答

  • 0

    尝试:

    pip install tensorflow
    

    如果这不起作用:

    sudo pip  install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp27-none-linux_x86_64.whl
    

    More info hereCommon problems here .

  • 0

    通过以下步骤解决了我的问题 .

    我使用也导出的代理设置更新了点子 . 例如export https_proxy = ...

    这能够解决我的问题 .

    我也尝试安装其他.whl文件for tensorflow和yes tensorflow也可以使用下载的.whl文件安装 .

    谢谢

  • 0

    我没有找出问题的根源,但是为了它的 Value 我通过安装旧版本(1.2.0为我工作)跳过了tensorboard问题

    pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0-cp27-none-linux_x86_64.whl
    

相关问题