mac安装mysqlclient报错

报错信息

ld: library not found for -lssl

解决:

brew install openssl
env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install mysqlclient

你可能感兴趣的:(mac安装mysqlclient报错)