小编Ros*_*han的帖子

安装 numpy 时出现错误“无法为使用 PEP 517 的 numpy 构建轮子且无法直接安装”

pip install numpy=1.19.1我正在尝试在 python 虚拟环境中使用命令安装特定版本的 numpy 。但我收到以下错误

ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?我正在使用 Python 3.9.6 和 Pip 21.1.3。我使用的是 macOS Big Sur。

python numpy pip virtualenv python-wheel

32
推荐指数
2
解决办法
10万
查看次数

标签 统计

numpy ×1

pip ×1

python ×1

python-wheel ×1

virtualenv ×1