- 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
I've had a hell of a time installing this, but I think I finally have it working. Some other dependencies available on Homebrew that aren't mentioned above are:
I installed all of these after running make install on graph-tool itself. I'm pretty sure there were others, but I lost count. I also had problems with interactive graphs crashing at runtime because of a missing icon called 'system-run' in GTK. I got around this by putting a file called system-run.png in /usr/share/icons/ and giving read permission to all.