没安装之前的错误:


解决以上错误:

$brew install mysql-client

$echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"'>>~/.bash_profile

$export PATH="/usr/local/opt/mysql-client/bin:$PATH"

$ pip install mysqlclient