官网安装tensroflow遇到Could not find a version that satisfies the requirement tensorflow-tensorboard

环境:

  • Python 3.6.3
  • Anaconda 5.0.1
  • Ubuntu 16.04


仿照官网安装tensorflow-gpu出错

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.5.0-cp36-cp36m-linux_x86_64.whl

报错:

Could not find a version that satisfies the requirement tensorflow-tensorboard<1.6.0,>=1.5.0 (from tensorflow-gpu==1.5.0) (from versions: )
No matching distribution found for tensorflow-tensorboard<1.6.0,>=1.5.0 (from tensorflow-gpu==1.5.0)

尝试过但不行的解决方法:

1. 修改pip.conf更新pip源

2. 直接安装pip install tensorflow-gpu

3. 安装nightly版  pip install tensorflow-gpu-nightly


解决方法:

不要用pip安装,用conda安装:

只需要执行本条即可:

conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu

倘若还是安装不了,请查看更详细的安装方法:

https://www.cnblogs.com/aloiswei/p/6510355.html

你可能感兴趣的:(TensorFlow,学习笔记,深度学习)