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