How to check scipy version

How to check the scipy version installed on my system?

+45
python scipy
Jan 27 '14 at 15:46
source share
4 answers
 In [95]: import scipy In [96]: scipy.__version__ Out[96]: '0.12.0' In [104]: scipy.version.*version? scipy.version.full_version scipy.version.short_version scipy.version.version In [105]: scipy.version.full_version Out[105]: '0.12.0' In [106]: scipy.version.git_revision Out[106]: 'cdd6b32233bbecc3e8cbc82531905b74f3ea66eb' In [107]: scipy.version.release Out[107]: True In [108]: scipy.version.short_version Out[108]: '0.12.0' In [109]: scipy.version.version Out[109]: '0.12.0' 

See the SciPy doveloper documentation for help .

+62
Jan 27 '14 at 15:47
source share

on the command line

  example$:python >>> import scipy >>> scipy.__version__ '0.9.0' 
+4
May 23 '14 at 8:58
source share

Using the command line:

 python -c "import scipy; print(scipy.__version__)" 
+2
Aug 26 '16 at 19:35
source share

At the python command line:

 import scipy print scipy.__version__ 

In python 3, you will need to change it to:

 print (scipy.__version__) 
0
Jul 09 '17 at 11:45
source share



All Articles