English

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?
Chapter 6: Introduction to NumPy - Exercise [Page 113]

APPEARS IN

NCERT Informatics Practices [English] Class 11
Chapter 6 Introduction to NumPy
Exercise | Q 1. b) | Page 113
Advertisements
Share
Notifications



      Forgot password?
Use app×