Skip to content

Commit aef9ad5

Browse files
author
cclauss
authored
Homebrew has changed how Python is installed
https://docs.brew.sh/Homebrew-and-Python The default __python__ is now Python 3.
1 parent c88ed62 commit aef9ad5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/starting/install/osx.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ Now, we can install Python 2.7:
6969

7070
.. code-block:: console
7171
72-
$ brew install python
72+
$ brew install python@2
7373
7474
or Python 3:
7575

7676
.. code-block:: console
7777
78-
$ brew install python3
78+
$ brew install python
7979
8080
This will take a minute or two.
8181

@@ -84,7 +84,7 @@ Homebrew names the executable ``python2`` so that you can still run the system P
8484

8585
.. code-block:: console
8686
87-
$ python -V # system Python interpreter
87+
$ python -V # Homebrew installed Python 3 interpreter (if installed)
8888
$ python2 -V # Homebrew installed Python 2 interpreter
8989
$ python3 -V # Homebrew installed Python 3 interpreter (if installed)
9090
@@ -107,7 +107,7 @@ and is actively maintained.
107107
.. code-block:: console
108108
109109
$ pip2 -V # pip pointing to the Homebrew installed Python 2 interpreter
110-
$ pip3 -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)
110+
$ pip -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)
111111
112112
113113

0 commit comments

Comments
 (0)