Open the URL https://pypi.python.org/pypi/numpy and find the numpy version corresponding to the installed python version.
My python version is (recommended learning: Python video tutorial)
Download The corresponding numpy version is
Download numpy to the scripts folder in the python installation directory
Then execute the following command in cmd
pip3.6 install D:\java\python36\Scripts\numpy-1.13.3-cp36-none-win_amd64.whl
If you see the following prompt, the installation is successful
For more Python related technical articles, please visit PythonTutorial column to learn!
The above is the detailed content of How to install numpy in python. For more information, please follow other related articles on the PHP Chinese website!