Tuesday, June 23, 2020

What is NumPy?

NumPy is a basic N-dimensional array package

If you have installed Python you can run  'pip' to install Numpy. Search for 'Pip' to find the correct location off 'pip'.

------------------------------------------------------------------------------------------------------------------
If Python is installed (I have Python 3.8) then run this from CMD with elevated permissions.

C:\Users\Owner\AppData\Local\Programs\Python\Python38\Lib\site-packages>dir
 Volume in drive C has no label.
 Volume Serial Number is 9CA9-492A


-------------------------------------------------------------------------------------------------------------
For installing NumPy, run the following command.

C:\Users\Owner\AppData\Local\Programs\Python\Python38\Lib\site-packages>pip install numpy
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/72/dd/fcb5046365a1c3edd8e6d5824e58a1065682b90d475dceac0d55f68764c3/numpy-1.19.0-cp37-cp37m-win_amd64.whl (13.0MB)
     |████████████████████████████████| 13.0MB 6.8MB/s
Installing collected packages: numpy
  WARNING: The script f2py.exe is installed in 'C:\Users\Owner\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\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.19.0
WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

No comments: