# 安装 numpy

查看 numpy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:numpy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install numpy
```

  证据: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install numpy
```

  证据: Chocolatey community package catalog: numpy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.757199','icq'

## 软件包事实

- **软件包键:** brew:numpy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/numpy>
- **版本:** 2.4.6
- **来源摘要:** Package for scientific computing with Python
- **主页:** <https://www.numpy.org/>
- **上游文档:** <https://www.numpy.org/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz>
- **更新:** 2026-05-20T04:30:39Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- f2py (cli)
- numpy-config (cli)
- f2py (别名)
- numpy-config (别名)

## 依赖

- openblas

## 构建依赖

- gcc
- meson
- ninja
- python@3.13
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Caveats: To run `f2py`, you may need to `brew install python@3.14`
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.4.6
- 管理器更新时间: 2026-05-20
- 本地数据: ok
- 上游仓库: https://www.numpy.org/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [openblas](https://www.automicvault.com/pkg/brew/openblas/) - Runtime dependency declared by Homebrew.
- [python@3.13](https://www.automicvault.com/pkg/brew/python-3-13/) - Build dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Build dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [gdal](https://www.automicvault.com/pkg/brew/gdal/) - Popular package that depends on this formula.
- [openvino](https://www.automicvault.com/pkg/brew/openvino/) - Popular package that depends on this formula.
- [opencv](https://www.automicvault.com/pkg/brew/opencv/) - Popular package that depends on this formula.
- [pytorch](https://www.automicvault.com/pkg/brew/pytorch/) - Popular package that depends on this formula.
- [checkov](https://www.automicvault.com/pkg/brew/checkov/) - Popular package that depends on this formula.
- [scipy](https://www.automicvault.com/pkg/brew/scipy/) - Popular package that depends on this formula.
- [python-matplotlib](https://www.automicvault.com/pkg/brew/python-matplotlib/) - Popular package that depends on this formula.
- [root](https://www.automicvault.com/pkg/brew/root/) - Popular package that depends on this formula.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
