I was messing around with my virtual environments in conda and I managed to make conda remove itself. I was testing a beta package in a virtual environment that I created. After I was done testing I went back to my root environment in conda. However in my root environment python kept crashing when I was running scripts that should work. I looked at my packages in the root environment and noticed that conda, conda-env, python, and scipy where updated in my root environment. I discovered the "revisions" feature in conda and saw the packages that I installed that day using:
yields the result (the relevant revisions are 29 and 30):
So using:
conda install --revision=29
It removed conda 4.2.7 but it did not replace it with conda 4.0.5. Now I cannot call conda from the command prompt anymore. I was wondering if there is a way for me to put conda back on my computer in my Anaconda distribution. Does anyone know if there is a way to do that?
If not I am quite prepared, before I did any messing around in conda I created a yaml file of my root environment. Worst case I can uninstall anaconda and reinstall anaconda or miniconda and recreate my environment although I am a little worried if I would lose any settings doing this. Also, I was having trouble cloning my root environment from this yaml file, conda kept giving me errors like 'could not parse "name=root"' or an error related to channels (I do have some packages that I got from specific channels). Let me know what you suggest I do.