numpy: Package for scientific computing with Python - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# numpy: Package for scientific computing with Python

## Description

This package adds numerical linear algebra and other numerical computing capabilities to python.

## Upstream Contact

- https://numpy.org/

- Travis Oliphant

- Fernando Perez

- Brian Granger

## Special Update/Build Instructions

- Scipy uses numpy’s distutils to control its compilation of fortran code.

  Whenever numpy is updated it is necessary to make sure that scipy still builds ok.

## Type

standard

## Dependencies

- $(BLAS)

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

- cython: C-Extensions for Python, an optimizing static compiler

- gfortran: Fortran compiler from the GNU Compiler Collection

- meson_python: Meson Python build backend (PEP 517)

- pkgconfig: Python interface to pkg-config

## Version Information

package-version.txt:

    2.3.2

pyproject.toml:

    numpy >=2.2.4

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-numpy

conda-forge

    $ conda install numpy

Debian/Ubuntu

    $ sudo apt-get install python3-numpy

Fedora/Redhat/CentOS

    $ sudo dnf install python3-numpy

Gentoo Linux

    $ sudo emerge dev-python/numpy

Homebrew

    $ brew install numpy

MacPorts

    $ sudo port install py-numpy

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-numpy

Void Linux

    $ sudo xbps-install python3-numpy

See https://repology.org/project/python:numpy/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.