Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Instale mysqlclient para Django Python no Mac OS X Sierra


Eu precisava do seguinte para construir/instalar mysqlclient
brew install mysql-client
# mysql-client is not on the `PATH` by default
export PATH="/usr/local/opt/mysql-client/bin:$PATH"
# openssl is not on the link path by default
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"

Então eu poderia pip wheel mysqlclient / pip install mysqlclient com sucesso