check what version of a module python code example
Example 1: python check version
python --version
Example 2: how to check current version of library in python
#Let's say you want to check tensorflow version
import tensorflow as tf
tf.__version__