Mac 升级Python3的简单方法
Mac 升级Python3的简单方法,很简单
brew install python3
which python3
vi ~/.bash_profile
alias python="alias python="/usr/local/bin/python3""
重启终端,执行下面代码如果显示python3.7即可
python -V
Mac 升级Python3的简单方法,很简单
brew install python3
which python3
vi ~/.bash_profile
alias python="alias python="/usr/local/bin/python3""
重启终端,执行下面代码如果显示python3.7即可
python -V