Skip to content

Instantly share code, notes, and snippets.

@gonghao
Created September 27, 2017 06:49
Show Gist options
  • Save gonghao/62804f2dfbe2b1afb88e5c3f4a85c577 to your computer and use it in GitHub Desktop.
Save gonghao/62804f2dfbe2b1afb88e5c3f4a85c577 to your computer and use it in GitHub Desktop.

Revisions

  1. gonghao created this gist Sep 27, 2017.
    6 changes: 6 additions & 0 deletions install_pycurl.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    export LDFLAGS="-L/usr/local/opt/openssl/lib"
    export CPPFLAGS="-I/usr/local/opt/openssl/include"
    export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
    export PYCURL_SSL_LIBRARY=openssl

    pip install pycurl --compile pycurl --no-cache