Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Last active September 14, 2015 11:27
Show Gist options
  • Save stefanschmidt/21ccbdd41ab27baa7a22 to your computer and use it in GitHub Desktop.
Save stefanschmidt/21ccbdd41ab27baa7a22 to your computer and use it in GitHub Desktop.
Install Python and NumPy with inline matrix operator on OS X
# to avoid errors concerning libraries linked against former versions of libgfortran.3.dylib
brew remove --force suite-sparse-julia arpack-julia openblas-julia arpack64-julia openblas64-julia
brew update && brew install python3
pip3 install --upgrade pip setuptools
# the @ operator is available starting from Python 3.5 / NumPy 1.10
# https://docs.python.org/3.5/whatsnew/3.5.html#whatsnew-pep-465
pip3 install http://sourceforge.net/projects/numpy/files/NumPy/1.10.0b1/numpy-1.10.0b1.tar.gz/download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment