Skip to content

Instantly share code, notes, and snippets.

@aGHz
Created September 20, 2012 21:36
Show Gist options
  • Save aGHz/3758501 to your computer and use it in GitHub Desktop.
Save aGHz/3758501 to your computer and use it in GitHub Desktop.
Compiling against Python.h installed by Homebrew

If compiling anything against a Python.h installed by homebrew install python raises the warning (promoted to an error) ‘PyArg_ParseTuple’ is an unrecognized format function type, review this Homebrew issue and then edit the appropriate pyconfig.h to comment out the line #define HAVE_ATTRIBUTE_FORMAT_PARSETUPLE 1.

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