Skip to content

Commit d79ae4a

Browse files
committed
Consistent tabs in installing-using-pip-and-virtual-environments.rst
Fixes pypa#1375
1 parent 9e32e17 commit d79ae4a

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

source/guides/installing-using-pip-and-virtual-environments.rst

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -155,25 +155,10 @@ Prepare pip
155155
It's used to install and update packages into a virtual environment.
156156

157157

158-
.. tab:: Unix
159-
160-
You can make sure that pip is up-to-date by running:
161-
162-
.. code-block:: bash
163-
164-
python3 -m pip install --upgrade pip
165-
python3 -m pip --version
166-
167-
Afterwards, you should have the latest version of pip installed in your
168-
user site:
169-
170-
.. code-block:: text
171-
172-
pip 23.3.1 from .../.venv/lib/python3.9/site-packages (python 3.9)
173-
174-
.. tab:: macOS
158+
.. tab:: Unix/macOS
175159

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

179164
.. code-block:: bash

0 commit comments

Comments
 (0)