Created
June 23, 2018 01:37
-
-
Save zacscott/0c67e0a75d23581609ecc1bf631570f4 to your computer and use it in GitHub Desktop.
PIP install mysqlclient on MacOSX
This file contains hidden or 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
# Python's mysqlclient requires MySQL version 5.7, however brew installs MySQL v8 by default. | |
# This is how you can install MySQL 5.7 and have it work to build mysqlclient | |
brew install [email protected] | |
ln -s /usr/local/Cellar/mysql-client/5.7.22/bin/mysql_config /usr/local/bin/mysql_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment