Installing GCC on MacOS

It’s a familiar chain of installation:

  1. In order to install NLTK for a workshop about Natural Language Processing
  2. First you have to install Python, then install NLTK and dependencies, including Python Setup tools.
  3. Find out Numpy doesn’t compile because GCC is not available
  4. No worries, GCC is part of XCode tools, which requires a 3Gb download package (!) and signing up for a Mac Developer license (free but still feels like applying for a visa to a foreign country)
  5. Fortunately, there is a simple GCC installer available for Mac OS!
  6. Finally, compile the missing packages and install NLTK data.

Wasn’t that fun?! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: