@@ -28,19 +28,17 @@ this link: `get-pip.py
28
28
Then run the following command in the folder where you
29
29
have downloaded ``get-pip.py ``:
30
30
31
- .. tabs ::
31
+ .. tab :: Unix/macOS
32
32
33
- .. group-tab :: Unix/macOS
33
+ .. code-block :: shell
34
34
35
- .. code-block :: shell
35
+ python get-pip.py
36
36
37
- python get-pip.py
37
+ .. tab :: Windows
38
38
39
- .. group-tab :: Windows
39
+ .. code-block :: shell
40
40
41
- .. code-block :: shell
42
-
43
- py get-pip.py
41
+ py get-pip.py
44
42
45
43
46
44
.. warning ::
@@ -81,68 +79,60 @@ some examples:
81
79
82
80
Install from local copies of pip and setuptools:
83
81
84
- .. tabs ::
85
-
86
- .. group-tab :: Unix/macOS
82
+ .. tab :: Unix/macOS
87
83
88
- .. code-block :: shell
84
+ .. code-block :: shell
89
85
90
- python get-pip.py --no-index --find-links=/local/copies
86
+ python get-pip.py --no-index --find-links=/local/copies
91
87
92
- .. group- tab :: Windows
88
+ .. tab :: Windows
93
89
94
- .. code-block :: shell
90
+ .. code-block :: shell
95
91
96
- py get-pip.py --no-index --find-links=/local/copies
92
+ py get-pip.py --no-index --find-links=/local/copies
97
93
98
94
Install to the user site [3 ]_:
99
95
100
- .. tabs ::
101
-
102
- .. group-tab :: Unix/macOS
96
+ .. tab :: Unix/macOS
103
97
104
- .. code-block :: shell
98
+ .. code-block :: shell
105
99
106
- python get-pip.py --user
100
+ python get-pip.py --user
107
101
108
- .. group- tab :: Windows
102
+ .. tab :: Windows
109
103
110
- .. code-block :: shell
104
+ .. code-block :: shell
111
105
112
- py get-pip.py --user
106
+ py get-pip.py --user
113
107
114
108
Install behind a proxy:
115
109
116
- .. tabs ::
110
+ .. tab :: Unix/macOS
117
111
118
- .. group-tab :: Unix/macOS
112
+ .. code-block :: shell
119
113
120
- .. code-block :: shell
114
+ python get-pip.py --proxy= " http://[user:passwd@]proxy.server:port "
121
115
122
- python get-pip.py --proxy= " http://[user:passwd@]proxy.server:port "
116
+ .. tab :: Windows
123
117
124
- .. group-tab :: Windows
118
+ .. code-block :: shell
125
119
126
- .. code-block :: shell
127
-
128
- py get-pip.py --proxy=" http://[user:passwd@]proxy.server:port"
120
+ py get-pip.py --proxy=" http://[user:passwd@]proxy.server:port"
129
121
130
122
``get-pip.py `` can also be used to install a specified combination of ``pip ``,
131
123
``setuptools ``, and ``wheel `` using the same requirements syntax as pip:
132
124
133
- .. tabs ::
134
-
135
- .. group-tab :: Unix/macOS
125
+ .. tab :: Unix/macOS
136
126
137
- .. code-block :: shell
127
+ .. code-block :: shell
138
128
139
- python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
129
+ python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
140
130
141
- .. group- tab :: Windows
131
+ .. tab :: Windows
142
132
143
- .. code-block :: shell
133
+ .. code-block :: shell
144
134
145
- py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
135
+ py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
146
136
147
137
Using Linux Package Managers
148
138
============================
@@ -156,19 +146,17 @@ the `Python Packaging User Guide
156
146
Upgrading pip
157
147
=============
158
148
159
- .. tabs ::
160
-
161
- .. group-tab :: Unix/macOS
149
+ .. tab :: Unix/macOS
162
150
163
- .. code-block :: shell
151
+ .. code-block :: shell
164
152
165
- python -m pip install -U pip
153
+ python -m pip install -U pip
166
154
167
- .. group- tab :: Windows
155
+ .. tab :: Windows
168
156
169
- .. code-block :: shell
157
+ .. code-block :: shell
170
158
171
- py -m pip install -U pip
159
+ py -m pip install -U pip
172
160
173
161
174
162
.. _compatibility-requirements :
0 commit comments