File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Installation Tool Recommendations
1717* Use :ref: `pip ` to install Python :term: `packages <Distribution Package> ` from
1818 :term: `PyPI <Python Package Index (PyPI)> `. [1 ]_ [2 ]_ Depending how :ref: `pip `
1919 is installed, you may need to also install :ref: `wheel ` to get the benefit
20- of :ref: ` wheel caching < pip:Wheel cache >` . [3 ]_
20+ of wheel caching. [3 ]_
2121
2222* Use :ref: `virtualenv `, or `pyvenv `_ to isolate application specific
2323 dependencies from a shared Python installation. [4 ]_
Original file line number Diff line number Diff line change @@ -32,16 +32,26 @@ packages.
3232
33331. 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
You can’t perform that action at this time.
0 commit comments