Skip to content

Commit

Permalink
Merge pull request xmendez#132 from shotgundebugging/patch-1
Browse files Browse the repository at this point in the history
Update installation docs for macOS
  • Loading branch information
xmendez authored Apr 27, 2019
2 parents bc67d05 + c446131 commit e021e26
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 e021e26

Please sign in to comment.