【问题标题】:Failed to install tensorflow on Ubuntu 17.10在 Ubuntu 17.10 上安装 tensorflow 失败
【发布时间】:2018-10-07 02:00:44
【问题描述】:

尝试在 ubuntu 17.10 (python 3.6) 上安装 tensorflow 时出现此错误:

Collecting tensorflow==1.7.0 from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.7.0-cp36-cp36m-linux_x86_64.whl
could not find a version that satisfies the requirement astor>=0.6.0 (from tensorflow==1.7.0) (from versions: )
no matching distribution found for astor>=0.6.0 (from tensorflow==1.7.0)

尝试安装 tensorflow 1.6.0 时出现此错误

could not find a version that satisfies the requirement tensorboard<1.7.0,>=1.6.0 (from tensorflow==1.6.0) (from versions: )

【问题讨论】:

    标签: python python-3.x tensorflow ubuntu-17.10


    【解决方案1】:

    尝试以下方法:

    pip3 install grpcio==1.9.1 tensorflow==1.6.0
    

    【讨论】:

    • no matching distribution found for grpcio==1.9.1
    • 感谢您的回复...但我发现了同样的问题
    【解决方案2】:

    我通过这个命令解决了这个问题

    pip3 install --trusted-host pypi.org --trusted-host files.pythonhosted.org tensorflow
    

    其实问题和ssl有关

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-04-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-16
      • 1970-01-01
      • 1970-01-01
      • 2018-06-10
      • 1970-01-01
      相关资源
      最近更新 更多