File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 70
70
71
71
Homebrew installs ``pip3 `` for you.
72
72
73
- ``pip3 `` is the alias for the Python 3 version of ``pip `` on systems with both
74
- the Homebrew'd Python 2 and 3 installed.
73
+ ``pip3 `` is the alias to ``pip `` pointing to the Homebrew'd Python 3.
75
74
76
75
Working with Python 3
77
76
---------------------
@@ -84,18 +83,22 @@ version of Python 3 as well.
84
83
85
84
$ python
86
85
87
- will launch the Python 2 interpreter.
86
+ will launch the system Python interpreter.
87
+
88
+ .. code-block :: console
89
+
90
+ $ python2
91
+
92
+ will launch the homebrew-installed Python 2 interpreter (if any).
88
93
89
94
.. code-block :: console
90
95
91
96
$ python3
92
97
93
- will launch the Python 3 interpreter.
98
+ will launch the homebrew-installed Python 3 interpreter.
94
99
95
- ``pip3 `` and ``pip `` will both be available. If the Homebrew version of Python
96
- 2 is not installed, they will be the same. If the Homebrew version of Python 2
97
- is installed then ``pip `` will point to Python 2 and ``pip3 `` will point to
98
- Python 3.
100
+ If the Homebrew version of Python 2 is installed then ``pip2 `` will point to Python 2.
101
+ If the Homebrew version of Python 3 is installed then ``pip3 `` will point to Python 3.
99
102
100
103
101
104
Virtual Environments
You can’t perform that action at this time.
0 commit comments