We have to check our numpy version when our numpy is imcompatible with other python packages. How to check in python? In this tutorial, we will use a simple example to tell you how to do.
Activate python environment
As to us, we have installed a numpy version in python 3.6, the anaconda python environment of which is py3.6. We activate it first .
activate py3.6
Check numpy version
We can use code below to get the version of numpy we have installed.
import numpy as np print(np.version.version)
Here is the result.
We can find the version of ours is 1.17.3