check numpy version python code example Example: check numpy version import numpy print(numpy.version.version)