Skip to content

Commit

Permalink
Merge pull request #1378 from jeanas/pip-tabs
Browse files Browse the repository at this point in the history
Consistent tabs in installing-using-pip-and-virtual-environments.rst
  • Loading branch information
willingc authored Nov 11, 2023
2 parents 9e32e17 + d79ae4a commit 0513bc6
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions source/guides/installing-using-pip-and-virtual-environments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,25 +155,10 @@ Prepare pip
It's used to install and update packages into a virtual environment.


.. tab:: Unix

You can make sure that pip is up-to-date by running:

.. code-block:: bash
python3 -m pip install --upgrade pip
python3 -m pip --version
Afterwards, you should have the latest version of pip installed in your
user site:

.. code-block:: text
pip 23.3.1 from .../.venv/lib/python3.9/site-packages (python 3.9)
.. tab:: macOS
.. tab:: Unix/macOS

The Python installers for macOS include pip. You can make sure that pip is
The Python installers for macOS include pip. On Linux, you may have to install
an additional package such as ``python3-pip``. You can make sure that pip is
up-to-date by running:

.. code-block:: bash
Expand Down

0 comments on commit 0513bc6

Please sign in to comment.