We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8800344 commit 57b28f8Copy full SHA for 57b28f8
1 file changed
docs/starting/install/osx.rst
@@ -63,21 +63,19 @@ line at the bottom of your :file:`~/.profile` file
63
64
.. code-block:: console
65
66
- export PATH=/usr/local/bin:/usr/local/sbin:$PATH
+ export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
67
68
Now, we can install Python 2.7:
69
70
71
72
$ brew install python@2
73
74
-or Python 3:
+Because ``python@2`` is a "keg", we need to update our ``PATH`` again, to point at our new installation:
75
76
77
78
- $ brew install python
79
-
80
-This will take a minute or two.
+ export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
81
82
Homebrew names the executable ``python2`` so that you can still run the system Python via the executable ``python``.
83
0 commit comments