我刚刚卸载并重新安装了Anaconda3,它在.bashrc文件中添加了这个块。通常,它只会添加 export PATH="/home/***/anaconda3/bin:$PATH"
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/home/****/anaconda3/bin/conda ' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/home/***/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/***/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/home/***/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
什么是问题?
;
-->CONDA_CHANGEPS1=false; conda activate base
- e.s.CONDA_CHANGEPS1=false conda activate base
没有出现错误。那么问题是什么?我不理解你的解释。 - LearnToGrow