vim ~/.zshrc 按i进入编辑模式,输入 export PATH=~/miniconda3/bin:$PATH :wq 修改python路径后输入以下命令使命令生效 source ~/.zshrc