Where is tensorflow installed in Mac

Installing with pip, installs the packages to the directory “site-packages”.

The following code shows the location of tensorflow as well as where pip installs the packages:

$ pip show tensorflow

Which will return:

Name: tensorflowVersion: 1.0.0Summary: TensorFlow helps the tensors flowHome-page: http://tensorflow.org/Author: Google Inc.Author-email: opensource@google.comLicense: Apache 2.0Location: /usr/local/lib/python2.7/site-packagesRequires: wheel, protobuf, numpy, six, mockRequired-by: 

here Location: shows where the package is installed with

cd /usr/local/lib/python2.7/site-packages/tensorflow