Skip to content

Instantly share code, notes, and snippets.

@tjoskar
Created April 30, 2014 07:52
Show Gist options
  • Save tjoskar/f4daa4db447b5c0c6ee4 to your computer and use it in GitHub Desktop.
Save tjoskar/f4daa4db447b5c0c6ee4 to your computer and use it in GitHub Desktop.
Install python-mysql on OS X Maverics

My mysql_config is in /usr/local/mysql/bin/ so add it to the PATH:

$ PATH="$PATH:/usr/local/mysql/bin/"

And make sure clang don't complain about unrecognized flags:

$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install MySQL-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment