tensorflow安装出现Requirement already satisfied问题,这个是网络问题吗?

来源:3-11 安装TensorFLow(下)

游客110

2018-03-21

环境:centos7,重新安装过Python,默认的Python版本是:2.7.5

安装后的Python版本:

[root@localhost fyp]# python -V

Python 2.7.14

安装命令:

[root@localhost fyp]# pip install tensorflow

Requirement already satisfied: tensorflow in /usr/lib64/python2.7/site-packages

Requirement already satisfied: astor>=0.6.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: protobuf>=3.4.0 in /usr/lib64/python2.7/site-packages (from tensorflow)

Requirement already satisfied: gast>=0.2.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: tensorboard<1.7.0,>=1.6.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: wheel in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: absl-py>=0.1.6 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: backports.weakref>=1.0rc1 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: termcolor>=1.1.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: enum34>=1.1.6 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: numpy>=1.13.3 in /usr/lib64/python2.7/site-packages (from tensorflow)

Requirement already satisfied: grpcio>=1.8.6 in /usr/lib64/python2.7/site-packages (from tensorflow)

Requirement already satisfied: mock>=2.0.0 in /usr/lib/python2.7/site-packages (from tensorflow)

Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from protobuf>=3.4.0->tensorflow)

Requirement already satisfied: werkzeug>=0.11.10 in /usr/lib64/python2.7/site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)

Requirement already satisfied: futures>=3.1.1; python_version < "3" in /usr/lib/python2.7/site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)

Requirement already satisfied: markdown>=2.6.8 in /usr/lib64/python2.7/site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)

Requirement already satisfied: html5lib==0.9999999 in /usr/lib/python2.7/site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)

Requirement already satisfied: bleach==1.5.0 in /usr/lib/python2.7/site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)

Requirement already satisfied: pbr>=0.11 in /usr/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow)

Requirement already satisfied: funcsigs>=1; python_version < "3.3" in /usr/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow)

[root@localhost fyp]# 


写回答

2回答

NeikoAnimo

2018-03-21

看样子是之前你已经安装过TensorFlow了。。试试删掉旧的版本,再下载一个?

0
1
游客110
非常感谢!
2018-03-21
共1条回复

Oscar

2018-03-22

你安装过旧版本的 TensorFlow。


运行下面的命令来查看你的当前的 Python 下的 TensorFlow 版本号:


python -c 'import tensorflow as tf; print(tf.__version__)'


卸载 TensorFlow 很简单:

pip uninstall tensorflow


安装最新版本的 TensorFlow:

pip install tensorflow


如果要安装指定版本,可以例如:

pip install tensorflow==1.5.0


1
0

基于Python玩转人工智能最火框架 TensorFlow应用实践

机器学习入门,打牢TensorFlow框架应用是关键!

2214 学习 · 688 问题

查看课程