check SciPy version code example
Example 1: scipy version check
import scipy
scipy.__version__
Example 2: print scipy version
python -c "import scipy; print(scipy.__version__)"
import scipy
scipy.__version__
python -c "import scipy; print(scipy.__version__)"