ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
\
Collecting scipy
Using cached scipy-1.8.1-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl (55.3 MB)
Collecting numpy<1.25.0,>=1.17.3
Using cached numpy-1.22.4.zip (11.5 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 metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘done’
Building wheels for collected packages: numpy
Failed to build numpy
WARNING: Building wheel for numpy failed: [Errno 13] Permission denied: ‘/Users/gdlocal/Library/Caches/pip/wheels/c7’
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
解决:加上sudo运行:
sudo pip3 install numpy -i https://mirrors.aliyun.com/pypi/simple
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/101601.html