Mac 安装mysqlclient报错 OSError: mysql_config not found
作者:互联网
1 首先安装 brew
参考:
https://blog.csdn.net/yuanshangshenghuo/article/details/106599836
2 然后配置
.bash_profile中添加 export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" export PATH="/usr/local/opt/mysql-client/bin:$PATH"
3 然后pip 安装 mysqlclient
标签:opt,OSError,local,mysqlclient,export,usr,mysql,报错,config 来源: https://www.cnblogs.com/johnsonbug/p/16069955.html