diff options
| author | Mike McQuaid | 2017-08-01 11:40:02 +0100 | 
|---|---|---|
| committer | GitHub | 2017-08-01 11:40:02 +0100 | 
| commit | 877c911025f0569f5072dbf3152bb1e771a8a50e (patch) | |
| tree | af4b04e2449ad11b1103afb0bc8fab1c978bf46b /docs | |
| parent | f4983ab16b01776f57cc8665df1bc3421c0c4683 (diff) | |
| parent | 132d696d3b8f6722995a32b845511607210d4407 (diff) | |
| download | brew-877c911025f0569f5072dbf3152bb1e771a8a50e.tar.bz2 | |
Merge pull request #2963 from cclauss/patch-2
Put the five executables in a list
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Homebrew-and-Python.md | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/docs/Homebrew-and-Python.md b/docs/Homebrew-and-Python.md index c9fe614ba..692e5c617 100644 --- a/docs/Homebrew-and-Python.md +++ b/docs/Homebrew-and-Python.md @@ -9,7 +9,12 @@ Homebrew provides formulae to brew a more up-to-date Python 2.7.x and 3.x.  **Important:** If you choose to install a Python which isn't either of these two (system Python or brewed Python), the Homebrew team can only provide limited support.  ## Python 2.x or Python 3.x -Homebrew provides a formula for Python 2.7.x and one for Python 3.x. They don't conflict, so they can both be installed. The executable `python2` will always point to the 2.x and `python3` to the 3.x version. The executable `python` will always point to the macOS system Python. +Homebrew provides one formula for Python 2.7.x and another for Python 3.x. The executables are organized as follows so that Python 2 and Python 3 can both be installed without conflict: +* `python` points to the macOS system Python (with no manual PATH modification) +* `python2` points to Homebrew's Python 2.7.x (if installed) +* `python3` points to Homebrew's Python 3.x (if installed) +* `pip2` points to Homebrew's Python 2.7.x's pip (if installed) +* `pip3` points to Homebrew's Python 3.x's pip (if installed)  ([Wondering which one to choose?](https://wiki.python.org/moin/Python2orPython3)) | 
