繁体   English   中英

无法在Ubuntu 17.10上安装tensorflow

[英]Failed to install tensorflow on Ubuntu 17.10

当尝试在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: )

请尝试以下方法:

pip3 install grpcio==1.9.1 tensorflow==1.6.0

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

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

实际上问题与ssl有关

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM