Install Numpy

1), install Python3.4 or above, because it will come with pip (installation of package manager)
  • Check the Python version.
    Open cmd and enter Python
    insert image description here
2), to download numpy

https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

insert image description here

3) After downloading, place numpy in scripts in the Python installation directory

insert image description here

4), open the console cmd, enter the python\Scripts directory,
5), we enter in the command window:

Python -m pip install -U pip (for updating pip)
insert image description here
also installs the wheel library, pip install wheel
insert image description here

6), we officially started to install numpy

Enter the command: pip install numpy-1.20.3+mkl-cp37-cp37m-win_amd64.whl
insert image description here

So far, numpy is installed.

Guess you like

Origin blog.csdn.net/shenjin_s/article/details/119379100