Issue
I've been trying to update my Anaconda installation, but whether I run the updater from the GUI or the Terminal via conda update conda, I receive the error: "NoBaseEnvironmentError: This conda installation has no default base environment."
I don't understand what is going on here. I have successfully run Python 2 and 3 scripts on this computer. Every tutorial I've found assumes a base environment is created by default. When I run conda info --envs I see an active environment named "base":
# conda environments:
#
base * /Users/MYUSERNAME/anaconda3
ipykernel_py2 /Users/MYUSERNAME/anaconda3/envs/ipykernel_py2
/Users/MYUSERNAME/opt/anaconda3
I'm not well-versed in Python or the command line, so I'd appreciate any help in solving this. I imagine all I need to do is set the base environment, but after much Googling I cannot figure out how to do so. All I want to do is update Anaconda.
Things I've Tried
conda activate prior to running update command
conda activate base prior to running update command
sudo conda update conda
conda update -p /Users/MYUSERNAME/anaconda3 conda
All have resulted in the same error.
System Details
I'm running MacOS Catalina 10.15.5, Conda version 4.7.10
conda info output:
active environment : base
active env location : /Users/MYUSERNAME/anaconda3
shell level : 1
user config file : /Users/MYUSERNAME/.condarc
populated config files : /Users/MYUSERNAME/.condarc
conda version : 4.7.10
conda-build version : 3.18.8
python version : 3.7.3.final.0
virtual packages :
base environment : /Users/MYUSERNAME/anaconda3 (read only)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/MYUSERNAME/anaconda3/pkgs
/Users/MYUSERNAME/.conda/pkgs
envs directories : /Users/MYUSERNAME/.conda/envs
/Users/MYUSERNAME/anaconda3/envs
platform : osx-64
user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Darwin/19.5.0 OSX/10.15.5
UID:GID : 501:20
netrc file : None
offline mode : False
conda config --show-sources output:
==> /Users/MYUSERNAME/.condarc <==
ssl_verify: True
channels:
- defaults