How do I check which version of NumPy I'm using? How do I check which version of NumPy I'm using? python python

How do I check which version of NumPy I'm using?


import numpynumpy.version.version


>> import numpy>> print numpy.__version__


From the command line, you can simply issue:

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

Or:

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


matomo