原文地址:https://stackoverflow.com/questions/60298514/brew-reinstalling-python2
起因:在mac上想安装python,通过brew search python查找,结果发现只提供了python3:
通过下面的命令可以安装python2:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/86a44a0a552c673a05f11018459c9f5faae3becc/Formula/python@2.rb
评论 (0)