Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

After upgrading to Catalina, my old Anaconda was not working anymore.

(升级到Catalina后,我的旧Anaconda不再工作了。)

I reinstalled it.

(我重新安装了它。)

Now it is located in different place: ~/opt/anaconda3 .

(现在它位于不同的位置: ~/opt/anaconda3 。)

Some of the libraries I use require gcc .

(我使用的某些库需要gcc 。)

That does not work either.

(那也不行。)

Previously, it was possible to download gcc-xx-bin.tar and do sudo tar -xvf gcc-xx-bin.tar -C / but that is also not working.

(以前,可以下载gcc-xx-bin.tar并执行sudo tar -xvf gcc-xx-bin.tar -C /但这也不起作用。)

xcode-select --install is still doing fine.

(xcode-select --install仍然运行良好。)

Can anyone, please, give a step-by-step how-to get gcc running on the latest macOS?

(任何人都可以逐步介绍如何使gcc在最新的macOS上运行吗?)

Would brewer do a better job?

(brewer做得更好吗?)

New OS versions are constantly changing things and that makes running programming environments very hard...

(新的OS版本不断变化,这使运行编程环境变得非常困难。)

[Apologies for cross-posting, but AskDifferent community does not seem very responsive to programming matters!]

([为交叉发布而道歉,但是AskDifferent社区似乎对编程问题反应不大!])

  ask by striatum translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
151 views
Welcome To Ask or Share your Answers For Others

1 Answer

use brew

(使用冲泡)

open terminal

(打开终端)

install brew

(安装酿造)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install gcc

(安装gcc)

brew install gcc


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...