卸载anaconda时修改.name文件

问题描述

我希望从我的计算机上完全卸载 anaconda,然后可能重新安装它。

我做了 here 建议的操作,只是 .bash_profile 上的最后两行看起来不像我想删除的那些。 我希望我想删除内容很清楚,但事实并非如此(至少对我而言)。 相反,.bash_profile 看起来像这样:

# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
export PATH
# added by Anaconda3 2019.10 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/Users/tinius/opt/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
    \eval "$__conda_setup"
else
    if [ -f "/Users/tinius/opt/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/Users/tinius/opt/anaconda3/etc/profile.d/conda.sh"
        CONDA_CHANGEPS1=false conda activate base
    else
        \export PATH="/Users/tinius/opt/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda init <<<
eval "$(pyenv init -)"

我应该从这里删除任何东西吗?例如,在上面的链接中谈到的 \export PATH="/Users/tinius/opt/anaconda3/bin:$PATH" 部分,inner-else 语句内部是什么?如果是这样,我是否删除整个 else 语句?

第二个问题:

是否还有其他 .name 文件需要删除修改才能成功卸载 anaconda?

如果这完全是菜鸟,我很抱歉,但我在 2014 年年中在 Macbook pro 上安装和卸载东西时相当迷茫。我今天从 Mojave 更新到 Big Sur。

谢谢

编辑

/Users/myuser 中的文件图片

Files and folders screenshot

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)