Skip to content

Instantly share code, notes, and snippets.

@cheeyeo
Created August 14, 2014 11:43
Show Gist options
  • Save cheeyeo/b7601b5690ede7cfbc42 to your computer and use it in GitHub Desktop.
Save cheeyeo/b7601b5690ede7cfbc42 to your computer and use it in GitHub Desktop.
Installing matplotlib on osx with freetype installed using homebrew

LDFLAGS: -L/usr/local/opt/freetype/lib CPPFLAGS: -I/usr/local/opt/freetype/include

LDFLAGS="-L/usr/local/opt/freetype/lib -L/usr/local/opt/libpng/lib" CPPFLAGS="-I/usr/local/opt/freetype/include -I/usr/local/opt/libpng/include -I/usr/local/opt/freetype/include/freetype2" sudo pip install matplotlib

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