Skip to content

Instantly share code, notes, and snippets.

@debuggerpk
Created March 28, 2014 14:28
Show Gist options
  • Select an option

  • Save debuggerpk/9834146 to your computer and use it in GitHub Desktop.

Select an option

Save debuggerpk/9834146 to your computer and use it in GitHub Desktop.
Install python cyrptography package on osx mavericks
#I am assuming that you have brew installed on your system
#first do this on command line
brew install pkg-config libffi
#then edit your .bash_profile
export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
# save bash_profile and now do
source ~/.bash_profile
# now
pip install cryptography
# happy coding :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment