Skip to content

Instantly share code, notes, and snippets.

@thoolihan
Created January 4, 2017 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoolihan/7eadec627c020527c3d83333720b47b1 to your computer and use it in GitHub Desktop.
Save thoolihan/7eadec627c020527c3d83333720b47b1 to your computer and use it in GitHub Desktop.
Installing pymc for homebrew users on OS X Sierra (1/4/2017)
brew install python3
brew install apple-gcc42
brew unlink gcc
ln -sf /usr/local/bin/gfortran-4.2 /usr/local/bin/gfortran
#optional: create virtualenv
python3 -mvenv ~/venvs/my_venv
source ~/venvs/my_venv/bin/activate
#end optional
pip3 install numpy
pip3 install pymc
# restore gcc
rm /usr/local/bin/gfortran
brew link gcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment