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 7070
7171Homebrew installs ``pip3 `` for you.
7272
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.
7574
7675Working with Python 3
7776---------------------
@@ -84,18 +83,22 @@ version of Python 3 as well.
8483
8584 $ python
8685
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).
8893
8994.. code-block :: console
9095
9196 $ python3
9297
93- will launch the Python 3 interpreter.
98+ will launch the homebrew-installed Python 3 interpreter.
9499
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.
99102
100103
101104Virtual Environments
You can’t perform that action at this time.
0 commit comments