From aef9ad5c0d33968d57cf4eb3782b27c2c7202cba Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 4 Mar 2018 03:03:28 +0100 Subject: [PATCH] Homebrew has changed how Python is installed https://docs.brew.sh/Homebrew-and-Python The default __python__ is now Python 3. --- docs/starting/install/osx.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/starting/install/osx.rst b/docs/starting/install/osx.rst index f83bd4f..5347f32 100644 --- a/docs/starting/install/osx.rst +++ b/docs/starting/install/osx.rst @@ -69,13 +69,13 @@ Now, we can install Python 2.7: .. code-block:: console - $ brew install python + $ brew install python@2 or Python 3: .. code-block:: console - $ brew install python3 + $ brew install python This will take a minute or two. @@ -84,7 +84,7 @@ Homebrew names the executable ``python2`` so that you can still run the system P .. code-block:: console - $ python -V # system Python interpreter + $ python -V # Homebrew installed Python 3 interpreter (if installed) $ python2 -V # Homebrew installed Python 2 interpreter $ python3 -V # Homebrew installed Python 3 interpreter (if installed) @@ -107,7 +107,7 @@ and is actively maintained. .. code-block:: console $ pip2 -V # pip pointing to the Homebrew installed Python 2 interpreter - $ pip3 -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed) + $ pip -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)