PyMySQL/mysqlclient

@2twenity

dhruv2981 opened this issue · 0 comments

          @2twenity 

mac os global environment run: ->
brew install pkg-config

in your virtualenv or other environment ->

export MYSQLCLIENT_LDFLAGS=$(pkg-config --libs mysqlclient)
export MYSQLCLIENT_CFLAGS=$(pkg-config --cflags mysqlclient)
pip install mysqlclient

Originally posted by @giuseppenovielli in #584 (comment)

Package mysqlclient was not found in the pkg-config search path.
Perhaps you should add the directory containing `mysqlclient.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mysqlclient' found
this error comes