Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install graph-tool on Mac OS Mavericks with python installed with brew

Install prerequisites

Install Homebrew

Install Python

  • brew install python
  • vim ~/.bash_profile
  • and insert this code:

Set architecture flags

export ARCHFLAGS="-arch x86_64"

Ensure user-installed binaries take precedence

export PATH=/usr/local/bin:$PATH

Load .bashrc if it exists

test -f ~/.bashrc && source ~/.bashrc

  • . ~/.bash_profile
  • easy_install pip # If you don't have already pip installed

Install libraries and prerequisites

  • brew install gcc
  • pip install numpy
  • pip install scipy
  • brew install freetype
  • pip install matplotlib

Install graph-tool with brew

  • brew tap homebrew/science
  • brew install graph-tool
@jefftrull
Copy link

jefftrull commented Feb 3, 2019

@neuronphysics suspect your problem is the same as mine, reported here: https://git.skewed.de/count0/graph-tool/issues/509. Solution is to build from git...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment