Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03b629a

Browse files
committed
DOC: fixes suggested by Thomas
Remove debugging pip for Python.org Python. De-escalate problem heading.
1 parent 19bc8e5 commit 03b629a

File tree

1 file changed

+6
-26
lines changed

1 file changed

+6
-26
lines changed

doc/faq/installing_faq.rst

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -223,41 +223,21 @@ binaries in the form of wheels.
223223
Python.org Python
224224
^^^^^^^^^^^^^^^^^
225225

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-
246226
Install pip following the `standard pip install instructions
247227
<http://pip.readthedocs.org/en/latest/installing.html>`_. For the impatient,
248-
in Terminal::
228+
open a new Terminal.app window and::
249229

250230
curl -O https://bootstrap.pypa.io/get-pip.py
251231

252-
Then::
232+
Then (Python 2.7)::
253233

254234
python get-pip.py
255235

256-
or::
236+
or (Python 3)::
257237

258238
python3 get-pip.py
259239

260-
Install matplotlib and all its dependencies with::
240+
You can now install matplotlib and all its dependencies with::
261241

262242
pip install matplotlib
263243

@@ -294,8 +274,8 @@ the IPython notebook option, like this:
294274
* Homebrew ``pip2 install ipython[notebook]`` or ``pip3 install
295275
ipython[notebook]``
296276

297-
In case of emergency...
298-
^^^^^^^^^^^^^^^^^^^^^^^
277+
Pip problems
278+
^^^^^^^^^^^^
299279

300280
If you get errors with pip trying to run a compiler like ``gcc`` or ``clang``,
301281
first check :ref:`reporting-problems`, then you may need to `install xcode

0 commit comments

Comments
 (0)