zsh:command not find:conda 的详细解决办法
1.在Terminal中用vim命令打开文件
vi ~/.zshrc
2、这时我们看到一个文件,像下面这样:
# export LANG=en_US.UTF-8
# export LANG=en_US.UTF-8
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
在文件末尾添加:
export PATH=/home/username/anaconda/bin:$PATH
然后保存并退出
3、应用&测试
source ~/.zshrc
conda --version
转载自:
https://www.jianshu.com/p/13f5d20e61f8
还没有评论,来说两句吧...