How to check Tensorflow version installed in my system?

Hit this on terminal:

pip list | grep tensorflow

OUTPUT:

tensorflow                         1.10.1            

1. If you have installed via pip, just run the following

$ pip show tensorflow

OUTPUT:

Name: tensorflowVersion: 1.10.1Summary: TensorFlow is an open source machine learning framework for everyone.Home-page: https://www.tensorflow.org/Author: Google Inc.Author-email: opensource@google.comLicense: Apache 2.0Location: /anaconda3/lib/python3.6/site-packagesRequires: six, setuptools, gast, astor, numpy, wheel, absl-py, grpcio, termcolor, tensorboard, protobuf

2. If you have installed via pip Run:

python -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 2python3 -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 3

3. Virtualenv installation or Any type of installation

pip list | grep tensorflow