Rate This Document
Findability
Accuracy
Completeness
Readability

Installation and Verification

  1. Install NumPy.
    1
    2
    python3 -m pip install --upgrade pip setuptools wheel 
    python3 -m pip install numpy==2.4.4
    
  2. Check whether NumPy is successfully installed.
    1
    2
    3
    4
    5
    6
    7
    python3 - <<'PY'
    import numpy as np
    
    print(np.__version__)
    print(np.array([[1, 2], [3, 4]]) @ np.array([[5, 6], [7, 8]]))
    assert np.__version__ == "2.4.4"
    PY
    
    The installation is successful if the following information is displayed:
    1
    2
    3
    2.4.4 
    [[19 22]  
     [43 50]]