Created
January 4, 2017 18:30
-
-
Save thoolihan/7eadec627c020527c3d83333720b47b1 to your computer and use it in GitHub Desktop.
Installing pymc for homebrew users on OS X Sierra (1/4/2017)
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
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