Opened 3 years ago
Last modified 3 years ago
#62763 closed defect
sudo port install py39-numpy on MacOs BigSur gives error - Failed to build OpenBLAS — at Initial Version
Reported by: | ankitadhar | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur arm64 | Cc: | |
Port: | OpenBLAS |
Description
Using MacBookAir BigSur with M1 chip.
{{ 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 }}
What should be done to fix it? Without it I am not able to install scikit-learn. I was following -> http://dioskurn.com:8000/installing-scikit-learn-in-macos/
I have followed this link -> https://trac.macports.org/ticket/57994, and have tried everything mentioned there. Nothing seems to work.