Python

How to Install numpy | check version | uninstall | install specific version?

How to Install numpy | check version | uninstall | install specific version?, someone asked me to explain?

NumPy is a Python library for working with large, multi-dimensional arrays and matrices of numerical data, as well as for performing mathematical operations on these. It provides a high-performance, easy-to-use array object, and a large collection of mathematical functions for operating on these arrays. Some of the key features of  NumPy include support for large, multi-dimensional arrays and matrices, a powerful N-dimensional array object, and a wide range of mathematical functions for performing operations on arrays.

To install numpy:

pip install numpy

To check numpy version:

import numpy as np
print(np.__version__)

To uninstall numpy

pip uninstall numpy

Install specific version:

pip install numpy==1.24.0

Numpy release versions

VIDEO GUIDE Numpy:

Post your comments / questions