I just like improving your answer, which also helped me:
In MacShell, follow these steps:
sudo su
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
pip install MySQL-python
Otherwise, these parameters will not be used.
Hooray!
source
share