- Xcode (Not necessary)
- Command Line Tools for Xcode
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- brew doctor
- brew update
- brew install python
- vim ~/.bash_profile
- and insert this code:
export ARCHFLAGS="-arch x86_64"
export PATH=/usr/local/bin:$PATH
test -f ~/.bashrc && source ~/.bashrc
- . ~/.bash_profile
- easy_install pip # If you don't have already pip installed
- brew install gcc
- pip install numpy
- pip install scipy
- brew install freetype
- pip install matplotlib
- brew tap homebrew/science
- brew install graph-tool
Ending 2017, this worked perfectly for me.
Edit: 1 Week later - NO it doesn't work. I spoke far far too soon. When I try to run a simple script with graph-tool it crashes. I'm not even back to square one, I'm at square -15. Seriously thinking of abandoning graph-tool and heading for NetworkX or iGraph. Shame.