【发布时间】:2021-03-27 21:53:52
【问题描述】:
我使用的是运行 Big Sur 11.1 的 MacBook m1,我已经安装了 Xcode-commandline-tools 12.3 版,它已经安装了 python3.8.5 和 pip3 .python3 和 pip 是本机应用程序,即它们在 ARM 中运行
pip3版本20.3.3
python3版本3.8.5
setuptools版本51.0.0
wheel版本0.36.2
当我输入python3 -m pip install numpy
输出是:
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy
Using cached numpy-1.19.4.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517): started
sandeep@Sandeeps-Air ~ % cat a
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy
Using cached numpy-1.19.4.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517): started
Building wheel for numpy (PEP 517): finished with status 'error'
Failed to build numpy
并且有一个非常大的errors列表
M1 仍然不支持 numpy 还是我做错了?
【问题讨论】:
标签: python-3.x macos numpy