Skip to content

Instantly share code, notes, and snippets.

@hiphamster
Created August 6, 2019 00:08
Show Gist options
  • Save hiphamster/c848783f4392a4799675ebd0d00a962d to your computer and use it in GitHub Desktop.
Save hiphamster/c848783f4392a4799675ebd0d00a962d to your computer and use it in GitHub Desktop.
Installing mysqlclient with pip
Installing mysqlclient with pip needs to know about openssl
/opt/local is where macports are installed
LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include/openssl" pip install mysqlclient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment