We need to follow some basic steps in order to import numpy in our Python shell. Below you can find all the steps.
Step 1: Open the Python shell:
On our command prompt or terminal, search Python or Python3, depending upon the installation of Python, and hit enter.
Step 2: Import numpy:
Once we are inside the Python shell, we need to run one command to import numpy.
Import numpy as np
Finally, we will be able to import numpy with the help of the above steps and commands.