Anaconda uninstall method

Preface

Uninstall anaconda tutorial

A pit was found here, many people stepped on it, take a look!

Into the title

Here is the code first:

conda config --add channels defaults  # 这行很重要
conda install anaconda-clean
anaconda-clean --yes
rm -rf ~/.anaconda_backup/
rm -rf /anaconda3
rm -rf ~/anaconda3
rm -rf ~/.condarc ~/.conda ~/.continuum

The first line here is very important. If the default source is not used, there will be a conflict:
anaconda-clean domestic source download conflict
so the default source is required:

The default source is successful
This picture is not truncated. The
default source is successful.
Enter a blank line
At this step,回车you canclick on the


third line to uninstall anaconda.
There is no effect picture here, because no operation is required after execution

rm -rf ~/.anaconda_backup/
rm -rf /anaconda3
rm -rf ~/anaconda3
rm -rf ~/.condarc ~/.conda ~/.continuum

These four lines delete residual data

Daily markdown tips

<br />Blank lines in markdown will be ignored, only the effect of blank lines can be achieved:

---------------------------------------------

Copyright Notice

The copyright belongs to the author of this article's reference and himself, please declare the source (if you are too lazy to write it, you don't see it, don't pursue it, you just know it)

Author

hit-road

Bye, get out of class is over!

Hit-road will be updated from time to time, see or leave!

Guess you like

Origin blog.csdn.net/weixin_42954615/article/details/107314930