gcc-4.2 failed with exit status 1 gcc-4.2 failed with exit status 1 python python

gcc-4.2 failed with exit status 1


Try the following:

  1. Install the latest Xcode.
  2. From Xcode's Preferences menu, install theCommand Line Tools (Downloads/Components tab).


For newer versions of OS X (including macOS), you just need to open up a terminal and type:

xcode-select --install