4

When trying to install tensorflow on ubuntu 17.10 (python 3.6) i got this error:

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)

when trying to install tensorflow 1.6.0 I got this error

could not find a version that satisfies the requirement tensorboard<1.7.0,>=1.6.0 (from tensorflow==1.6.0) (from versions: )
Maxim
  • 52,561
  • 27
  • 155
  • 209
K.cyrine
  • 158
  • 1
  • 1
  • 9

2 Answers2

0

Try the following:

pip3 install grpcio==1.9.1 tensorflow==1.6.0
Maxim
  • 52,561
  • 27
  • 155
  • 209
0

I solved this problem by this command

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

In fact the problem is related to the ssl

K.cyrine
  • 158
  • 1
  • 1
  • 9