How to reset anaconda root environment

How to reset anaconda root environment? To do this, you need a simple conda reset command.

I do not want to reinstall the anaconda again and again. I have other virtualenvs that I don't want to overwrite, and this will happen if I install anaconda again.

+34
source share
4 answers

See https://github.com/conda/conda/issues/1032.

This was implemented as a list of conda --revisions and conda install --rev REV_NUM.

EDIT: be careful if you run conda install --rev 0 as this will remove your root environment and the conda . Perhaps conda install --rev 1 will give the desired behavior (restore the root environment to its state after the first installation).

EDIT 2018-03-07: use the --revision argument instead of --rev

+30
source

You might also consider conda update anaconda . anaconda bundles specific versions of packages that Continuum Analytics found to work great together.

+1
source
0
source

In my case, this works:

 conda update pyqt 
-6
source

Source: https://habr.com/ru/post/1014521/


All Articles