1 I installed tensorflow, on ubuntu16.04LTS, python version 2.7 / 3.5.2 with pip. The result indicates that piping is too old, and it is useless for me to update pip. The following is the error message
yc_qian@QYC:~$ sudo-H pip install tensorflow-- upgrade
Requirement already up-to-date: tensorflow in / usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: astor > = 0.6.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: protobuf > = 3.4.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: gast > = 0.2.0 in / usr/local / lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: tensorboard < 1.9.0, > = 1.8.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: six > = 1.10.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: wheel in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: absl-py > = 0.1.6 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already Up-to-date: backports.weakref > = 1.0rc1 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: termcolor > = 1.1.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: enum34 > = 1.1.6 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: numpy > = 1.13.3 in / usr/local/lib/python2.7/dist -packages (from tensorflow)
Requirement already up-to-date: grpcio > = 1.8.6 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: mock > = 2.0.0 in / usr/local/lib/python2.7/dist-packages (from tensorflow)
Requirement already up-to-date: setuptools in / usr/local/lib/python2.7/dist-packages (from protobuf > = 3.4.0-> tensorflow)
Requirement already up-to-date: werkzeug > = 0.11.10 in / usr / local/lib/python2.7/dist-packages (from tensorboard < 1.9.0, > = 1.8.0-> tensorflow)
Requirement already up-to-date: futures > = 3.1.1; Python_version < "3" in / usr/local/lib/python2.7/dist-packages (from tensorboard < 1.9.0, > = 1.8.0-> tensorflow)
Requirement already up-to-date: markdown > = 2.6.8 in / usr/local/lib/python2.7/dist-packages (from tensorboard < 1.9.0, > = 1.8.0-> tensorflow)
Requirement already up-to-date: html5lib==0.9999999 in / usr/local/lib/python2.7/dist-packages (from tensorboard < 1.9.0, > = 1.8.0-> tensorflow)
Requirement already up-to-date: bleach==1.5.0 in / usr/local/lib/python2.7/dist-packages (from tensorboard < 1.9.0, > = 1.8.0-> tensorflow)
Requirement already up-to-date: pbr > = 0.11 in / usr/local/lib/python2.7/dist-packages (from mock > = 2.0.0-> tensorflow)
Requirement already up-to-date: funcsigs > = 1; Python_version < "3.3" in / usr/local/lib/python2.7/dist-packages (from mock > = 2.0.0-> tensorflow)
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the "pip install-- upgrade pip" command.
I checked the version of pip:
yc_qian@QYC:~$ pip-V
pip 10.0.1 from / home/yc_qian/.local/lib/python3.5/site-packages/pip (python3.5)
to be on the safe side, I also read the version of pip3:
yc_qian@QYC:~$ pip3-V
pip 10.0.1 from / home/yc_qian/.local/lib/python3.5/site-packages/pip (python3.5)
Why does the installation of pip fail when it is clear that the tensorflow version is 10.0.1? Excuse me, what should I do?