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
63
63
64
64
.. code-block :: console
65
65
66
- export PATH=/usr/local/bin:/usr/local/sbin:$PATH
66
+ export PATH=" /usr/local/bin:/usr/local/sbin:$PATH"
67
67
68
68
Now, we can install Python 2.7:
69
69
70
70
.. code-block :: console
71
71
72
72
$ brew install python@2
73
73
74
- or Python 3 :
74
+ Because `` python@2 `` is a "keg", we need to update our `` PATH `` again, to point at our new installation :
75
75
76
76
.. code-block :: console
77
77
78
- $ brew install python
79
-
80
- This will take a minute or two.
78
+ export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
81
79
82
80
Homebrew names the executable ``python2 `` so that you can still run the system Python via the executable ``python ``.
83
81
You can’t perform that action at this time.
0 commit comments