[Docs] Fix Mac instructions in the install guide (#3675)

* Update install_linux_mac.rst

* Address review

* Use new Homebrew installer

* Add python@3.8 to PATH
This commit is contained in:
jack1142 2020-03-26 22:33:12 +01:00 committed by GitHub
parent e90868072e
commit d23144bc61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,20 +163,18 @@ following, then press Enter:
.. code-block:: none
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
After the installation, install the required packages by pasting the commands and pressing enter,
one-by-one:
.. code-block:: none
brew install python --with-brewed-openssl
brew install python@3.8
echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> ~/.profile
source ~/.profile
brew install git
brew tap caskroom/versions
brew cask install homebrew/cask-versions/adoptopenjdk11
It's possible you will have network issues. If so, go in your Applications folder, inside it, go in
the Python 3.8 folder then double click ``Install certificates.command``.
brew cask install adoptopenjdk/openjdk/adoptopenjdk11
Continue by `creating-venv-linux`.