Skip to content

Instantly share code, notes, and snippets.

@davidalber
Created May 1, 2014 19:32
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidalber/6bc5c7c43c530642f79e to your computer and use it in GitHub Desktop.
Save davidalber/6bc5c7c43c530642f79e to your computer and use it in GitHub Desktop.
Steps to successfully install Python cryptography package on Mac OS X 10.8.5.

Prior to setting the PKG_CONFIG_PATH, as below, pip install cryptography failed with Symbol not found: _ffi_type_double on my machine running Mac OS X 10.8.5. I am not sure how commonly the error occurs for other users.

brew install libffi

# Note the version-specific path below.
PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/ pip install cryptography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment