我正在做一个干净的小牛安装,并且意外地做了 $ b $ pre $ code brew安装gcc
这是花了半个多小时,也许更多。我应该终止它吗?我现在知道我应该安装一个特定的gcc(也许gcc48),但已经太晚了,我的macbook air正在呼吸困难。
目前已经完成了所有5个依赖项的下载,但卡在安装gcc部分。它下载了一个gcc-4.9.1.tar.bz2,并进行了配置和构建,并停留在启动引导程序上。
任何建议都是值得赞赏的。
这个建议我看得太晚了: apple.stackexchange/questions/38222/how-do-i-install- gcc-via-homebrew
首先提问: superuser/questions/788256/brew-install-gcc-mac-os-10-9-mavericks
$ b $你需要安装gcc来获得gfortran,而且你确实需要一个用于scipy的fortran编译器。如果你安装了Xcode命令行工具,Homebrew会安装一个瓶装(即预编译)的gcc软件包版本,速度非常快。这些与XCode本身是分开的。您可以使用 xcode-select --install 安装它们。没有特别需要安装特定版本的gcc(我认为这些可能不是瓶装的,所以它们会同样缓慢)。
一般来说,用Ctrl + C中断Homebrew是安全的,Homebrew会自动您可能会对 homebrew-python tap 感兴趣。 >。
I'm doing a clean install of Mavericks, and accidentally did
brew install gccwhich is taking over half an hour, maybe more. Should I terminate it? I know now that I should have installed a specific gcc (maybe gcc48) but it's too late and my macbook air is breathing hard.
Currently done downloading all 5 dependencies, but stuck on the "Installing gcc" part. It's downloaded a gcc-4.9.1.tar.bz2, configured and built it, and is stuck on making the bootstrap.
Any advice is appreciated.
This was good advice I saw too late: apple.stackexchange/questions/38222/how-do-i-install-gcc-via-homebrew
Asked here first: superuser/questions/788256/brew-install-gcc-mac-os-10-9-mavericks
解决方案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.
更多推荐
brew安装gcc太耗时
发布评论