Created
August 20, 2021 19:00
-
-
Save thatandromeda/fdae2ee33f3798b6535f6031aceb2c0b to your computer and use it in GitHub Desktop.
installing scipy on M1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After many failed attempts, I have installed scipy on my M1 MBP! The approach that worked for me was | |
[similar to this one](https://github.com/scipy/scipy/issues/13409#issuecomment-886939243): | |
``` | |
pip install cython pybind11 pythran | |
pip install --no-binary :all: --no-use-pep517 numpy | |
brew install gfortran openblas | |
export OPENBLAS=/opt/homebrew/opt/openblas/lib/ | |
pip install --no-binary :all: --no-use-pep517 scipy | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment