@@ -223,41 +223,21 @@ binaries in the form of wheels.
223
223
Python.org Python
224
224
^^^^^^^^^^^^^^^^^
225
225
226
- First check that you do in fact have the Python.org python set to be the
227
- default Python binary. From Terminal, do::
228
-
229
- python -c 'import sys; print(sys.prefix)'
230
-
231
- or::
232
-
233
- python3 -c 'import sys; print(sys.prefix)'
234
-
235
- Use ``python `` or ``python3 `` depending whether you installed Python 2.7 or a
236
- Python 3 release. You should see something like::
237
-
238
- /Library/Frameworks/Python.framework/Versions/2.7
239
-
240
- where "2.7" is your installed Python version. If you see something like
241
- ``/usr/bin/python `` instead, first try restarting Terminal.app;, if that
242
- doesn't work then try reinstalling Python.org Python. If the check still
243
- fails, we would like to hear about it. Please have a look at
244
- :ref: `reporting-problems `.
245
-
246
226
Install pip following the `standard pip install instructions
247
227
<http://pip.readthedocs.org/en/latest/installing.html> `_. For the impatient,
248
- in Terminal::
228
+ open a new Terminal.app window and ::
249
229
250
230
curl -O https://bootstrap.pypa.io/get-pip.py
251
231
252
- Then::
232
+ Then (Python 2.7) ::
253
233
254
234
python get-pip.py
255
235
256
- or::
236
+ or (Python 3) ::
257
237
258
238
python3 get-pip.py
259
239
260
- Install matplotlib and all its dependencies with::
240
+ You can now install matplotlib and all its dependencies with::
261
241
262
242
pip install matplotlib
263
243
@@ -294,8 +274,8 @@ the IPython notebook option, like this:
294
274
* Homebrew ``pip2 install ipython[notebook] `` or ``pip3 install
295
275
ipython[notebook] ``
296
276
297
- In case of emergency...
298
- ^^^^^^^^^^^^^^^^^^^^^^^
277
+ Pip problems
278
+ ^^^^^^^^^^^^
299
279
300
280
If you get errors with pip trying to run a compiler like ``gcc `` or ``clang ``,
301
281
first check :ref: `reporting-problems `, then you may need to `install xcode
0 commit comments