File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,15 @@ or Python 3:
77
77
78
78
This will take a minute or two.
79
79
80
+ Homebrew names the executable ``python2 `` so that you can still run the system Python via the executable ``python ``.
81
+
82
+
83
+ .. code-block :: console
84
+
85
+ $ python -V # system Python interpreter
86
+ $ python2 -V # Homebrew installed Python 2 interpreter
87
+ $ python3 -V # Homebrew installed Python 3 interpreter (if installed)
88
+
80
89
81
90
Setuptools & Pip
82
91
----------------
@@ -93,6 +102,12 @@ that is recommended over ``easy_install``. It is superior to ``easy_install``
93
102
in `several ways <https://python-packaging-user-guide.readthedocs.io/pip_easy_install/#pip-vs-easy-install >`_,
94
103
and is actively maintained.
95
104
105
+ .. code-block :: console
106
+
107
+ $ pip2 -V # pip pointing to the Homebrew installed Python 2 interpreter
108
+ $ pip3 -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)
109
+
110
+
96
111
97
112
Virtual Environments
98
113
--------------------
You can’t perform that action at this time.
0 commit comments