how to know version of tensorflw on ubuntu code example Example: check tensorflow version import tensorflow as tf tf.__version__