gpt4 book ai didi

python - 如何正确卸载Anaconda?

转载 作者:行者123 更新时间:2023-11-30 22:34:06 30 4
gpt4 key购买 nike

我喜欢 Anaconda,但它给我带来了很多麻烦,我想尝试将它从我的机器上删除并从头开始。这些问题源于幕后路径的变化和其他我不明白的事情。例如,我必须在 Anaconda 中创建一个虚拟环境(source create)才能使用 Spyder。我从 homebrew 安装了数量经济学包(brew install quantecon),它也只有在我为其创建虚拟环境时才有效。奇怪的东西。

我的问题是:重新开始就像

一样简单吗
conda install anaconda-clean
anaconda-clean --yes
rm -rf ~/anaconda

然后重新安装?或者是否还有我应该关心的其他可能隐藏的依赖项?我最担心的是意外删除 Mac OS python。

最佳答案

您需要clean a few more files and directories :

OS X Anaconda uninstall

To uninstall Anaconda open a terminal window and remove the entire anaconda install directory: rm -rf ~/anaconda. You may also edit ~/.bash_profile and remove the anaconda directory from your PATH environment variable, and remove the hidden .condarc file and .conda and .continuum directories which may have been created in the home directory with rm -rf ~/.condarc ~/.conda ~/.continuum.

关于python - 如何正确卸载Anaconda?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44956975/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com