Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thatandromeda/fdae2ee33f3798b6535f6031aceb2c0b to your computer and use it in GitHub Desktop.
Save thatandromeda/fdae2ee33f3798b6535f6031aceb2c0b to your computer and use it in GitHub Desktop.
installing scipy on M1
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