Skip to content

Commit

Permalink
Update installation docs for macOS
Browse files Browse the repository at this point in the history
Installing curl using brew doesn't support the `--with-openssl` anymore
curl-openssl package can be used to achieve similar outcome
Tested on Mojave 10.14.4 using Homebrew 2.1.1, pip 19.1
  • Loading branch information
shotgundebugging authored Apr 25, 2019
1 parent bc67d05 commit c446131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ This is due to the fact that, MacOS might need some tweaks before pycurl is inst

#. Curl is normally already installed in MacOs, but to be sure it uses OpenSSL, we need to install it using brew::

$ brew install curl --with-openssl
$ brew install curl-openssl

#. Curl is installed keg-only by brew. This means that is installed but not linked. Therefore, we need to instruct pip to use the recently installed curl before installing pycurl. We can do this permanently by changing our bash_profile::

$ echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.bash_profile
$ echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

#. Or temporary in the current shell::

$ export PATH="/usr/local/opt/curl/bin:$PATH"
$ export PATH="/usr/local/opt/curl-openssl/bin:$PATH"

#. Then, we need to install pycurl as follows::

Expand Down

0 comments on commit c446131

Please sign in to comment.