You are using pip version 8.1.1, however version 19.0.3 is available.

You are using pip version 8.1.1, however version 19.0.3 is available.

写在前面

参照https://blog.csdn.net/cs_hnu_scw/article/details/79695347安装TensorFlow遇到不少报错,入门的小白还有点蒙

报错如下

使用命令:

pip3 install tensorflow-1.8.0rc1-cp37-cp37m-linux_x86_64.whl

报错如下:

tensorflow-1.8.0rc1-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

查看当前pip版本:

pip -V
pip 19.0.3 from /home/linkverba/anaconda3/envs/tensorflow/lib/python3.7/site-packages/pip (python 3.7)

发现已经是19.0.3版本,

更新指令时提示也已经是19.0.3版本:

python -m pip install -U pip
Requirement already up-to-date: pip in /home/linkverba/anaconda3/envs/tensorflow/lib/python3.7/site-packages (19.0.3)

但是依旧报错:

pip3 install tensorflow-1.8.0rc1-cp37-cp37m-linux_x86_64.whl
tensorflow-1.8.0rc1-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

解决方法

未能区分pip与pip3,pip已经更新但是pip3仍为报错中旧版本.

pip install --upgrade pip3

将pip3更新到最新即可

你可能感兴趣的:(You are using pip version 8.1.1, however version 19.0.3 is available.)