Skip to content

Changes in how homebrew installs Python on Mac OSX #834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/starting/install3/osx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ Pip

Homebrew installs ``pip3`` for you.

``pip3`` is the alias for the Python 3 version of ``pip`` on systems with both
the Homebrew'd Python 2 and 3 installed.
``pip3`` is the alias to ``pip`` pointing to the Homebrew'd Python 3.

Working with Python 3
---------------------
Expand All @@ -84,18 +83,22 @@ version of Python 3 as well.

$ python

will launch the Python 2 interpreter.
will launch the system Python interpreter.

.. code-block:: console

$ python2

will launch the homebrew-installed Python 2 interpreter (if any).

.. code-block:: console

$ python3

will launch the Python 3 interpreter.
will launch the homebrew-installed Python 3 interpreter.

``pip3`` and ``pip`` will both be available. If the Homebrew version of Python
2 is not installed, they will be the same. If the Homebrew version of Python 2
is installed then ``pip`` will point to Python 2 and ``pip3`` will point to
Python 3.
If the Homebrew version of Python 2 is installed then ``pip2`` will point to Python 2.
If the Homebrew version of Python 3 is installed then ``pip3`` will point to Python 3.


Virtual Environments
Expand Down