macOS
brew install numpylocal Homebrew formula metadata
安装
brew install numpylocal Homebrew formula metadata
sudo apt install python-numpy-docDebian stable package indexes · python-numpy-doc · 来源: deb.debian.org
sudo dnf install python3-numpyFedora Rawhide package metadata · python3-numpy · 来源: dl.fedoraproject.org
sudo apt install python3-numpyUbuntu 24.04 LTS package indexes · python3-numpy · 来源: archive.ubuntu.com
choco install numpyChocolatey community package catalog · numpy · 来源: community.chocolatey.org
概览
Package for scientific computing with Python
历史
NumPy is the foundational array package for scientific computing in Python. It supplies the `ndarray`, vectorized operations, broadcasting, linear algebra and numerical routines, a C API, and the `f2py` command-line interface for building Python bindings to Fortran code.
The official NumPy about page says NumPy was created in 2005, building on Numeric and Numarray. The old SciPy history records the project as a reunion: Travis Oliphant wanted to bring the split Numeric/numarray community back to one array package, refactored Numeric to absorb numarray's features, and after naming discussion the multidimensional array project became NumPy.
NumPy became the array substrate for the Python scientific stack. The 2020 Nature paper 'Array programming with NumPy' describes NumPy as a 2005 unification of Numarray's features with Numeric's small-array performance and C API, and says that by 2020 it underpinned almost every Python library doing scientific or numerical computation, including SciPy, Matplotlib, pandas, scikit-learn, and scikit-image.
Users install NumPy directly for dense arrays, vectorized math, broadcasting, random sampling, FFTs, statistics, basic linear algebra, and data interchange with other Python libraries. Package maintainers also care about the compiled-code boundary: `f2py` is distributed with NumPy as both `numpy.f2py` and a standalone command-line tool, making old Fortran routines callable from Python, while the C API supports extensions and downstream projects.
For package ecosystems, NumPy is not just a library; it is an ABI, build, and compatibility gravity well. Python packages with native extensions often pin or test against NumPy versions, scientific Linux/macOS distributions ship optimized BLAS/LAPACK stacks underneath it, and Homebrew's formula page showed 333,990 installs over 365 days on July 1, 2026 despite Python users often installing it through pip or conda instead.
安全态势
没有找到 numpy 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
f2py | cli | 全局可执行文件 | |
numpy-config | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:numpy |
|---|---|
| 版本 | 2.5.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/numpy |
| 主页 | https://www.numpy.org/ |
| 仓库 | https://github.com/numpy/numpy |
| 上游文档 | https://numpy.org/doc/stable/index |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz |
| 最后更新 | 2026-07-07T20:38:47Z |
| Pulse | updated |
| 依赖 | openblas |
| 构建依赖 | gcc, meson, ninja, python@3.13, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | To run `f2py`, you may need to `brew install python@3.14` |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | numpy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
python-numpy-doc 1:2.2.4+ds-1
Python library for numerical computations (Documentation)
sudo apt install python-numpy-docpython3-numpy 1:2.2.4+ds-1
Python library for numerical computations (Python 3)
sudo apt install python3-numpypython3-numpy-dev 1:2.2.4+ds-1
Python library for numerical computations (Python 3 headers)
sudo apt install python3-numpy-devpython3-numpy 1:1.26.4+ds-6ubuntu1
Fast array facility to the Python language (Python 3)
sudo apt install python3-numpypython3-numpy 2.4.6-2.fc45
A fast multidimensional array facility for Python
sudo dnf install python3-numpypython3-numpy-doc 2.4.6-2.fc45
Documentation for numpy
sudo dnf install python3-numpy-docpython3-numpy-f2py 2.4.6-2.fc45
f2py for numpy
sudo dnf install python3-numpy-f2pynumpy
choco install numpy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.