在终端中输入:conda --version --> 查看安装的conda版本
此时,出现Conda command not found,说明需要配置环境变量,
具体操作如下:
vim ~/.bash_profile
e
-->进入编辑i
-->切换到插入模式export PATH=/Users/xxx/opt/anaconda3/bin:$PATH
–> 此处xxx即电脑名 (ps:此处路径一定要写对,血的教训。。。)esc
:wq
--> 退出source ~/.bash_profile
-->完成