Skip to content

Commit 3e9846d

Browse files
committed
- make it clearer when pip is already installed
- explain how to upgrade pip
1 parent 0dc9c81 commit 3e9846d

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

‎source/installing.rst‎

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,26 @@ packages.
3232

3333
1. Install :ref:`pip`, :ref:`setuptools`, and :ref:`wheel`:
3434

35-
If you have Python 2 >=2.7.9 or Python 3 >=3.4:
35+
If you have Python 2 >=2.7.9 or Python 3 >=3.4 installed from `python.org
36+
<https://www.python.org>`_:
3637

37-
You may already have the ``pip`` command available by default (and
38-
setuptools will be installed as well), or you may at least contain a
39-
working `ensurepip
40-
<https://docs.python.org/3.4/library/ensurepip.html>`_. To install pip (and
41-
setuptools) using ensurepip, run: ``python -m ensurepip --upgrade``.
38+
You will already have :ref:`pip` and :ref:`setuptools`, but will need to
39+
upgrade to the latest version:
4240

43-
Since :ref:`wheel` won't be installed, you'll also need to run: ``pip
44-
install wheel``
41+
On Linux or OS X:
42+
43+
::
44+
45+
pip install -U pip
46+
47+
48+
On Windows:
49+
50+
::
51+
52+
python -m pip install -U pip
53+
54+
You will not have :ref:`wheel`, so you'll need to run: ``pip install wheel``
4555

4656
Otherwise:
4757

0 commit comments

Comments
 (0)