How to install NumPy?
Advertisements
Question
How to install NumPy?
Short Answer
Advertisements
Solution
To install NumPy, open the Command Prompt or Terminal and use the pip command. Type the following command:
pip install numpy
Press Enter and wait for the installation to complete. After successful installation, NumPy can be imported into a Python program using:
import numpy
shaalaa.com
Is there an error in this question or solution?
