File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ Doing it Right
21
21
22
22
Let's install a real version of Python.
23
23
24
- Before installing Python, you'll need to install a C compiler. A compiler can be
25
- obtained by downloading `Xcode <http://developer.apple.com/xcode/ >`_, the
26
- smaller `Command Line Tools <https://developer.apple.com/downloads/ >`_ (must
27
- have an Apple account) or the even smaller `OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme >`_
24
+ Before installing Python, you'll need to install a C compiler. The fastest way
25
+ is to install the Xcode Command Line Tools by running
26
+ ``xcode-select --install ``. You can also download the full version of
27
+ `Xcode <http://developer.apple.com/xcode/ >`_ from the Mac App Store, or the
28
+ minimal but unofficial
29
+ `OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme >`_
28
30
package.
29
31
30
32
.. note ::
31
- If you already have Xcode installed, do not install OSX-GCC-Installer.
32
- In combination, the software can cause issues that are difficult to
33
- diagnose.
33
+ If you already have Xcode installed or plan to use Homebrew , do not install
34
+ OSX-GCC-Installer. In combination, the software can cause issues that are
35
+ difficult to diagnose.
34
36
35
37
While OS X comes with a large number of UNIX utilities, those familiar with
36
38
Linux systems will notice one key component missing: a decent package manager.
You can’t perform that action at this time.
0 commit comments