본문 바로가기
Linux

python(numpy) version check

by 공대우냉이 2016. 1. 5.

1) Platform information::


     python -c 'import os, sys; print(os.name, sys.platform)'

     uname -a

     OS, its distribution name and version information

     etc.


2) Information about C,C++,Fortran compilers/linkers as reported by

   the compilers when requesting their version information, e.g.,

   the output of

   ::


     gcc -v

     g77 --version


3) Python version::


     python -c 'import sys; print(sys.version)'


4) NumPy version::


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