brew install gcc too time consuming

前端 未结 1 1218
暗喜
暗喜 2020-12-12 19:50

I\'m doing a clean install of Mavericks, and accidentally did

brew install gcc

which is taking over half an hour, maybe more. Should I term

相关标签:
1条回答
  • 2020-12-12 20:20

    You do need gcc installed to get gfortran, and you do need a fortran compiler for scipy. Homebrew will install a "bottled" (i.e., precompiled) version of the gcc package, which is very fast, if you have the Xcode Command Line Tools installed. These are separate from XCode proper. You can install them with xcode-select --install.

    There is no particular need to install a particular version of gcc (and I think those may not be bottled, so they will be equally slow).

    In general, interrupting Homebrew with Ctrl+C is safe and Homebrew will automatically recover.

    You may be interested in the homebrew-python tap.

    0 讨论(0)
提交回复
热议问题