how to know tensorflow version is installed code example Example: check tensorflow version import tensorflow as tf tf.__version__