numpy install on Win
1. download numpy from https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
Python Extension Packages for Windows - Christoph Gohlke
by Christoph Gohlke, Laboratory for Fluorescence Dynamics, University of California, Irvine. Updated on 24 April 2019 at 06:25 UTC. This page provides 32- and 64-bit Windows binaries of many scientific open-source extension packages for the official CPytho
www.lfd.uci.edu
- numpy-1.16.3+mkl-cp37-cp37m-win32.whl
2. py -m pip install "numpy-1.16.3+mkl-cp37-cp37m-win_amd64.whl"
++++++
Processing c:\users\louie\downloads\numpy-1.11.2\numpy-1.16.3+mkl-cp37-cp37m-win_amd64.whl
Installing collected packages: numpy
WARNING: The script f2py.exe is installed in 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed numpy-1.16.3+mkl
++++++
3. Run python ide and try below and you should see similar with below
++++++
>>> from numpy import *
>>> random.rand(10,2)
array([[0.1796496 , 0.74889603],
[0.14349535, 0.57672517],
[0.32226919, 0.35813378],
[0.41196513, 0.04595842],
[0.86832091, 0.10998179],
[0.56488768, 0.99650092],
[0.61947003, 0.67435525],
[0.45059853, 0.2128208 ],
[0.56383383, 0.39564498],
[0.32804842, 0.05619918]])
>>>
++++++