Skip to content

Commit 57b28f8

Browse files
committed
1 parent 8800344 commit 57b28f8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/starting/install/osx.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,19 @@ line at the bottom of your :file:`~/.profile` file
6363

6464
.. code-block:: console
6565
66-
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
66+
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
6767
6868
Now, we can install Python 2.7:
6969

7070
.. code-block:: console
7171
7272
$ brew install python@2
7373
74-
or Python 3:
74+
Because ``python@2`` is a "keg", we need to update our ``PATH`` again, to point at our new installation:
7575

7676
.. code-block:: console
7777
78-
$ brew install python
79-
80-
This will take a minute or two.
78+
export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
8179
8280
Homebrew names the executable ``python2`` so that you can still run the system Python via the executable ``python``.
8381

0 commit comments

Comments
 (0)