macOS高版本(12),移除了默认Python brew安装 brew install python@3.8 vim ~/.zshrc# pythonalias python='/usr/local/bin/python3'export PATH="/usr/local/opt/python@3.8/libexec/bin:$PATH" source ~/.zshrc (使修改生效)