在安装tensorflow
时,实用官网给出的命令:
(ml01) pyvip@Vip:~/study$ pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl
ERROR: tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
报错,说不支持这个平台,所以通过如下命令查找,查看环境支持的pip环境:
- Linux中按照如下命令查看python版本
(ml01) pyvip@Vip:~/study$ python
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
>>> import pip._internal
>>> print(pip._internal.pep425tags.get_supported())
[('cp35', 'cp35m', 'manylinux2010_i686'), ('cp35', 'cp35m', 'manylinux1_i686'), ('cp35',