You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/starting/install3/osx.rst
+6-16Lines changed: 6 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -62,17 +62,15 @@ Now, we can install Python 3:
62
62
63
63
.. code-block:: console
64
64
65
-
$ brew install python3
65
+
$ brew install python
66
66
67
67
This will take a minute or two.
68
68
69
69
70
70
Pip
71
71
---
72
72
73
-
Homebrew installs ``pip3`` for you.
74
-
75
-
``pip3`` is the alias to ``pip`` pointing to the Homebrew'd Python 3.
73
+
Homebrew installs ``pip`` pointing to the Homebrew'd Python 3 for you.
76
74
77
75
Working with Python 3
78
76
---------------------
@@ -85,7 +83,7 @@ version of Python 3 as well.
85
83
86
84
$ python
87
85
88
-
will launch the system Python interpreter.
86
+
will launch the homebrew-installed Python 3 interpreter.
89
87
90
88
.. code-block:: console
91
89
@@ -100,21 +98,13 @@ will launch the homebrew-installed Python 2 interpreter (if any).
100
98
will launch the homebrew-installed Python 3 interpreter.
101
99
102
100
If the Homebrew version of Python 2 is installed then ``pip2`` will point to Python 2.
103
-
If the Homebrew version of Python 3 is installed then ``pip3`` will point to Python 3.
101
+
If the Homebrew version of Python 3 is installed then ``pip`` will point to Python 3.
104
102
105
-
The rest of the guide will assume that ``python`` references Python 3. You can simply choose to always invoke ``python3`` instead, and much is backwards compatible. However, performing the following steps will set Python 3 as the default interpreter for ``python`` in a shell.
103
+
The rest of the guide will assume that ``python`` references Python 3.
106
104
107
105
.. code-block:: console
108
106
109
-
# Do I have a Python 2 problem?
110
-
$ python --version
111
-
Python 2.7.10 # Referencing OSX system install
112
-
$ which python
113
-
/usr/bin/python # Yup, homebrew's would be in /usr/local/bin
0 commit comments