File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments