How to quickly solve zsh: command not found: conda on Mac

The first time I use a Mac system, after installing anaconda, use conda --version to report an error "zsh: command not found: conda". The reason is that conda is not added to the environment path.

Solution:
Find the route of anaconda3/bin, and print the following format
"export PATH=~/CS/anacondasiyi/anaconda3/bin:$PATH" in the command line,
where "~/CS/anacondasiyi/anaconda3/bin" is in my computer The path of the bin.
After adding, you can use conda list,
but when you use conda activate base, you get an error. Enter
"conda init base" according to the command line prompt , then close the command line and reopen it.

You can use conda happily

Guess you like

Origin blog.csdn.net/qq_45347185/article/details/114371643