基础服务系列-Mac 安装Python3
前言 本例采用brew安装。未安装brew,参考 Mac 安装Brew 。 安装步骤 search brew search python3 ==> Formulae boost-python3 python3 ✔ python@3 ✔ python@3.8 If you meant "python3" specifically: It was migrated from homebrew/cask to homebrew/core. Install brew install python3 bash_profile vi ~/.bash_profile alias python="/usr/local/bin/python3" source ~/.bash_profile 查看版本 python Python 3.7.6 (default, Apr 2 2020, 12:41:48) [Clang 11.0.0 (clang-1100.0.33.17)] on darwin Type "help", "copyright", "credits" or "license" for more information. 来源: oschina 链接: https://my.oschina.net/wuxinshui/blog/4258492