Install NumPy from PyCharm Terminal

To open terminal, you can check the bottom of the PyCharm window for the terminal tab, or press Alt + F12 to open the terminal window.

Open terminal tab from PyCharm UI

After the terminal tab is opened, type the following commands to install NumPy in the current Python environment.

Go to terminal first, upgrade pip using the command.

python -m pip install --upgrade pip

Then use the following command to install the NumPy.

pip install numpy

How to test if NumPy is installed or not?

After the installation of the NumPy on the Python environment, we can easily check whether NumPy is installed or not. To do so, we have to use the following command to check. Inside the PyCharm write the following code and run the program for getting the output.

Python3




import numpy as np
  
print(np.__version__)


Output:

1.23.1

How to install NumPy in PyCharm?

In this article, we will cover how to install the Python NumPy package in PyCharm. NumPy is a general-purpose array-processing Python package. It provides a high-performance multidimensional array object, and tools for working with these arrays. As one of the most important tool while working with data manipulation, we often need to install NumPy package. It’s a third party module, i.e. we need to install it separately. There can be multiple ways of installing NumPy package. While using PyCharm the easiest way to install is using PyCharm User interface, by following the steps as discussed below:

Similar Reads

Install NumPy in PyCharm Using GUI:

Step 1: Click on file and then go to the settings....

Install NumPy from PyCharm Terminal

To open terminal, you can check the bottom of the PyCharm window for the terminal tab, or press Alt + F12 to open the terminal window....