A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/installation-guide/how-to-install-numpy-on-linux/ below:

How to Install Numpy on Linux?

How to Install Numpy on Linux?

Last Updated : 23 Jul, 2025

Python NumPy is a general-purpose array processing package that provides tools for handling n-dimensional arrays. It provides various computing tools such as comprehensive mathematical functions, linear algebra routines. NumPy provides both the flexibility of Python and the speed of well-optimized compiled C code. Its easy-to-use syntax makes it highly accessible and productive for programmers from any background.

Pre-requisites:

The only thing that you need for installing Numpy on Windows are:

Installing Numpy on Linux using Conda:

If you want the installation to be done through conda, you can use the below command:

conda install -c anaconda numpy

Type in "y" for yes when prompted.

You will get a similar message once the installation is complete

Make sure you follow the best practices for installation using conda as:

conda create -n my-env
conda activate my-env

Note: If your preferred method of installation is conda-forge, use the below command:

conda config --env --add channels conda-forge
Verifying Numpy Installation on Linux using Conda:

Use the below command to verify if the above package has successfully installed:

conda list numpy 

You will get a similar message as shown below if the installation has been successful:

Installing Numpy on Linux using PIP:

Users who prefer to use pip can use the below command to install NumPy:

pip install numpy

You will get a similar message once the installation is complete:

It is a good programming practice to install packages in a virtual environment rather than installing them globally. PIP users can use the below command to create a virtual environment:

python3 -m venv my-env

Activate the virtual environment (ie, my-env) using the below command:

source my-env/bin/activate
Verifying Numpy Installation on Linux using PIP:

Use the below command to check if the package has been successfully installed:

python3 -m pip show numpy

You will get a similar message as shown below if the installation is successful:



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4