Open vid-akella opened 2 years ago
Was able to figure out why my update didn't go through and was able to correctly update navigator. Request to close this as it was reported in error.
Hi @vid-akella, I have the same issue, can you share how you managed to fix it?
Checklist
What happened?
I tried updating Navigator by "conda update anaconda" on command line of Mac terminal. The update said "done" without any errors. When I tried to open the Navigator GUI, I got this error message, as pasted below:
Navigator Error An unexpected error occurred on Navigator start-up
Report Please report this issue in the anaconda issue tracker
Main Error failed to run: 'conda info --json': "FileNotFoundError(2, 'No such file or directory')" Traceback Traceback (most recent call last): File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 77, in _call_conda (p, stdout_lines, stderr_lines) = streaming_popen.popen(cmd_list, File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/streaming_popen.py", line 83, in popen p = logged_subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, kwargs) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/logged_subprocess.py", line 27, in Popen return subprocess.Popen(args=args, kwargs) File "/Users/vidya/opt/anaconda3/lib/python3.8/subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/Users/vidya/opt/anaconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'conda'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/app/start.py", line 151, in start_app window = run_app(splash) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/app/start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/widgets/main_window.py", line 170, in init self.api = AnacondaAPI() File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/api/anaconda_api.py", line 1600, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/api/anaconda_api.py", line 81, in init self._project_api = ProjectAPI() File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/api/project_api.py", line 182, in ProjectAPI PROJECT_API = _ProjectAPIWrapper() File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_navigator/api/project_api.py", line 62, in init from anaconda_project.api import AnacondaProject File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/api.py", line 24, in from anaconda_project import prepare, project, provide, project_ops File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/prepare.py", line 19, in from anaconda_project.internal import conda_api File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 643, in _default_platforms_with_current = tuple(sorted(list(set(default_platforms + (current_platform(), ))))) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 639, in current_platform conda_info = info() File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 126, in info return _call_and_parse_json(['info', '--json'], platform=platform) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 113, in _call_and_parse_json out = _call_conda(extra_args, json_mode=True, platform=platform) File "/Users/vidya/opt/anaconda3/lib/python3.8/site-packages/anaconda_project/internal/conda_api.py", line 82, in _call_conda raise CondaError("failed to run: %r: %r" % (command_in_errors, repr(e))) anaconda_project.internal.conda_api.CondaError: failed to run: 'conda info --json': "FileNotFoundError(2, 'No such file or directory')"
Conda info
Conda config
Conda list
Additional Context
No response