Check modul version

# check version of installed modul NumPy

>>> import numpy

>>> print(numpy.__version__)

1.8.2

# Check modul version directly from Linux command line

python -c "import numpy; print(numpy.__version__)"

1.8.2

# Check modul version directly from Linux command line

python -c "import numpy; print numpy.__path__"

['/usr/lib/python2.7/dist-packages/numpy']