安装Python

brew install python

查看python执行路径

which python
// /usr/local/bin/python3

创建链接

ln -s -f /usr/local/bin/python3 /usr/local/bin/python