zsh: command not found: conda。(zsh: command not found: conda。)

在MAC下,安装完anaconda后,在终端输入 conda –version后,显示zsh: command not found: conda。

原因是anaconda安装完成后,并没有配置环境路径。为此,需要在.zshrc中加入anaconda

的路径。保存退出后 source 一下就可以。

vim ~/.zshrc这里按a进入追加模式,输入shift :wq!

export PATH=/Users/yaoguoqiang/anaconda3/bin:$PATH
输入shift :wq!
source ~/.zshrc
————————

Under Mac, after installing anaconda, after entering CONDA — version in the terminal, Zsh: command not found: CONDA will be displayed.

The reason is that the environment path is not configured after Anaconda installation. For this purpose, it is necessary to Adding Anaconda to zshrc

The path of the. Save and exit. Just click source.

vim ~/.zshrc这里按a进入追加模式,输入shift :wq!

export PATH=/Users/yaoguoqiang/anaconda3/bin:$PATH
输入shift :wq!
source ~/.zshrc