簡體   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