用ubantu系统 pip方式默认安装tensorflow,一般会安装在账户目录的一个隐藏目录下。比如:/home/bayes/.local/lib/python2.7/site-packages
如果要查看安装目录,使用命令 pip show -f tensorflow
---
Metadata-Version: 2.0
Name: tensorflow
Version: 1.3.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
Installer: pip
License: Apache 2.0
Location: /home/bayes/.local/lib/python2.7/site-packages
Requires: mock, numpy, backports.weakref, wheel, tensorflow-tensorboard, six, protobuf