Can't install mysql-python with pip on MacOS 10.12.4
Solved with this
brew install mysql
pip install MySQL-python
If you still failed with something like "Failed building wheel for mysql-python", try
LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysql-python
which works like a charm for me.
This worked for me (macOS Mojave 10.14.2):
brew install [email protected]
brew link --force [email protected]
brew install mysql-client
LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysql-python