如何解决MacOs BigSur 上的 sudo port install py39-numpy 出现错误 - 无法构建 OpenBLAS
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Computing dependencies for py39-numpy
The following dependencies will be installed:
OpenBLAS
fftw-3
nosetests_select
py39-nose
Continue? [Y/n]: y
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Building OpenBLAS
Error: Failed to build OpenBLAS: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py39-numpy failed
应该怎么做才能修复它?
我尝试从源代码重建/安装 gcc9 :
sudo port uninstall gcc9
sudo port clean gcc9
sudo port -s install gcc9
sudo port -s install OpenBLAS
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。