Skip to content

Changes in how homebrew installs Python on Mac OSX #835

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
15 changes: 15 additions & 0 deletions docs/starting/install/osx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ or Python 3:

This will take a minute or two.

Homebrew names the executable ``python2`` so that you can still run the system Python via the executable ``python``.


.. code-block:: console

$ python -V # system Python interpreter
$ python2 -V # Homebrew installed Python 2 interpreter
$ python3 -V # Homebrew installed Python 3 interpreter (if installed)


Setuptools & Pip
----------------
Expand All @@ -93,6 +102,12 @@ that is recommended over ``easy_install``. It is superior to ``easy_install``
in `several ways <https://python-packaging-user-guide.readthedocs.io/pip_easy_install/#pip-vs-easy-install>`_,
and is actively maintained.

.. code-block:: console

$ pip2 -V # pip pointing to the Homebrew installed Python 2 interpreter
$ pip3 -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)



Virtual Environments
--------------------
Expand Down