[X] I searched for other issues and couldn't find a solution or duplication
[X] I already searched in Google and didn't find any good information or help
[X] I looked at the docs and didn't see anything to help
What happened?
I got this error when trying to launch anaconda
failed to run: 'conda info --json': "FileNotFoundError(2, 'No such file or directory')"
the site advised me to post a bug report
Conda info
(base) Tom@Toms-MBP-2 ~ % conda info
active environment : base
active env location : /Users/Tom/opt/anaconda3
shell level : 2
user config file : /Users/Tom/.condarc
populated config files : /Users/Tom/.condarc
conda version : 4.14.0
conda-build version : 3.21.9
python version : 3.8.12.final.0
virtual packages : __osx=10.16=0
__unix=0=0
__archspec=1=x86_64
base environment : /Users/Tom/opt/anaconda3 (writable)
conda av data dir : /Users/Tom/opt/anaconda3/etc/conda
conda av metadata url : None
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/Tom/opt/anaconda3/pkgs
/Users/Tom/.conda/pkgs
envs directories : /Users/Tom/opt/anaconda3/envs
/Users/Tom/.conda/envs
platform : osx-64
user-agent : conda/4.14.0 requests/2.28.1 CPython/3.8.12 Darwin/21.6.0 OSX/10.16
UID:GID : 501:20
netrc file : None
offline mode : False
(base) Tom@Toms-MBP-2 ~ %
I faced the same problem when trying to launch the Anaconda Navigator. However, I successfully launched it by typing anaconda navigator in Terminal rather than clicking the application icon.
Checklist
What happened?
I got this error when trying to launch anaconda failed to run: 'conda info --json': "FileNotFoundError(2, 'No such file or directory')" the site advised me to post a bug report
Conda info
Conda config
Conda list
Additional Context
There is a stackoverflow on this but their solution does not help, which was simply to run
conda deactivate conda update anaconda-navigator