I had installed Anaconda, I had managed to launch it and then use R or python, and today I can no longer launch it and I get this error (I get the same error when I run the
Facing the same error initially, I tried other solutions given here by executing the commands in anaconda terminal but nothing works in my case as I was getting the following error on executing command
Load Error: invalid yaml at position 0
This means .condarc file is either corrupted due to some reason or there may be some changes in it. The solution that worked for me is to delete .condarc. As the .condarc configuration file follows simple YAML syntax. .condarc is automatically created in your home directory the time you run anaconda navigator.
Conda will re-create it, again.
Hope it Helps!!
I use the anaconda in win10 x64 (python3.x) and I got this problem this morning as well. All the things had been done in anaconda was that I installed a package called pywinauto, then I turned off the computer and went home.
I follow the suggestion from https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/4hBTDOcDzgo by lan, I update the anaconda by using the command.
conda update anaconda-navigator
However, the error occurred the same.
Then I reboot the computer and restart the anaconda, magic thing happens! the anaconda works fine!
I think maybe some configuration has been changed when I install the new package, and this change is conflicted with the current configuration which you need to reboot the computer to fix it. you should note that turn off computer then restart it is not equal to reboot it.
So, just reboot the computer and it will be fine.
I follow the suggestions: https://github.com/ContinuumIO/anaconda-issues/issues/6006 , https://github.com/ContinuumIO/anaconda-issues/issues/1984
These commands helped me:
conda update anaconda-navigator
conda update navigator-updater
anaconda-navigator --reset
Try removing .condarc from your directory and check if it works. I had the same issue and it worked for me. I hope it works for you.