Last active
March 30, 2020 19:19
-
-
Save fhsinchy/64b40cacb2c02fab779ab2f45fbf1bb2 to your computer and use it in GitHub Desktop.
Installation process for MySQLClient python package on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install mysql@5.7 mysql-connector-c openssl | |
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ | |
brew services start mysql@5.7 | |
xcode-select --install | |
brew unlink mysql@5.7 | |
brew link --overwrite --force mysql-connector-c | |
pip install mysqlclient | |
brew unlink mysql-connector-c | |
brew link --overwrite --force mysql@5.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment