[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?
Dear all,
first of all, thank you for your time.
My problem is the following: some months ago I updated Spyder. After that, I was not able to open Anaconda_ navigator (and therefore SPyder and Jupyter Notebook).
My conda environments are still working, the problem is with the applications.
As far as I understand from the error message (below), I am missing a file ( that disappeared).
I have been searching for solutions, however I was not able to find one (or maybe to understand that there exists).
I would avoid to delete and install anaconda again for my laptop being quite old (2016) with Mac OS Mojave installed in it.
Thanks in advance
Conda info
active environment : base
active env location : //anaconda3
shell level : 1
user config file : /Users/elenaambrosi/.condarc
populated config files : /Users/elenaambrosi/.condarc
conda version : 22.11.1
conda-build version : 3.18.8
python version : 3.7.15.final.0
virtual packages : __archspec=1=x86_64
__osx=10.14.6=0
__unix=0=0
base environment : //anaconda3 (writable)
conda av data dir : //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 : //anaconda3/pkgs
/Users/elenaambrosi/.conda/pkgs
envs directories : //anaconda3/envs
/Users/elenaambrosi/.conda/envs
platform : osx-64
user-agent : conda/22.11.1 requests/2.28.1 CPython/3.7.15 Darwin/18.7.0 OSX/10.14.6
UID:GID : 501:20
netrc file : None
offline mode : False
Error Message:
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: \'conda\'")'
Traceback
Traceback (most recent call last):
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 80, in _call_conda
stderr_callback=stderr_callback)
File "//anaconda3/lib/python3.7/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 "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/logged_subprocess.py", line 27, in Popen
return subprocess.Popen(args=args, kwargs)
File "//anaconda3/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "//anaconda3/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'conda': 'conda'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/app/start.py", line 151, in start_app
window = run_app(splash)
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/app/start.py", line 65, in run_app
window = MainWindow(splash=splash, tab_project=False)
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 170, in init
self.api = AnacondaAPI()
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py", line 1525, in AnacondaAPI
ANACONDA_API = _AnacondaAPI()
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py", line 80, in init
self._project_api = ProjectAPI()
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/project_api.py", line 182, in ProjectAPI
PROJECT_API = _ProjectAPIWrapper()
File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/project_api.py", line 62, in init
from anaconda_project.api import AnacondaProject
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/api.py", line 24, in
from anaconda_project import prepare, project, provide, project_ops
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/prepare.py", line 19, in
from anaconda_project.internal import conda_api
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 643, in
_default_platforms_with_current = tuple(sorted(list(set(default_platforms + (current_platform(), )))))
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 639, in current_platform
conda_info = info()
File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 126, in info
return _call_and_parse_json(['info', '--json'], platform=platform)
File "//anaconda3/lib/python3.7/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 "//anaconda3/lib/python3.7/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\'")'
Checklist
What happened?
Dear all, first of all, thank you for your time. My problem is the following: some months ago I updated Spyder. After that, I was not able to open Anaconda_ navigator (and therefore SPyder and Jupyter Notebook). My conda environments are still working, the problem is with the applications. As far as I understand from the error message (below), I am missing a file ( that disappeared). I have been searching for solutions, however I was not able to find one (or maybe to understand that there exists). I would avoid to delete and install anaconda again for my laptop being quite old (2016) with Mac OS Mojave installed in it. Thanks in advance
Conda info
Conda config
Conda list
Additional Context
Error Message: 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: \'conda\'")' Traceback Traceback (most recent call last): File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 80, in _call_conda stderr_callback=stderr_callback) File "//anaconda3/lib/python3.7/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 "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/logged_subprocess.py", line 27, in Popen return subprocess.Popen(args=args, kwargs) File "//anaconda3/lib/python3.7/subprocess.py", line 800, in init restore_signals, start_new_session) File "//anaconda3/lib/python3.7/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'conda': 'conda'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/app/start.py", line 151, in start_app window = run_app(splash) File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/app/start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 170, in init self.api = AnacondaAPI() File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py", line 1525, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py", line 80, in init self._project_api = ProjectAPI() File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/project_api.py", line 182, in ProjectAPI PROJECT_API = _ProjectAPIWrapper() File "//anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/project_api.py", line 62, in init from anaconda_project.api import AnacondaProject File "//anaconda3/lib/python3.7/site-packages/anaconda_project/api.py", line 24, in from anaconda_project import prepare, project, provide, project_ops File "//anaconda3/lib/python3.7/site-packages/anaconda_project/prepare.py", line 19, in from anaconda_project.internal import conda_api File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 643, in _default_platforms_with_current = tuple(sorted(list(set(default_platforms + (current_platform(), ))))) File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 639, in current_platform conda_info = info() File "//anaconda3/lib/python3.7/site-packages/anaconda_project/internal/conda_api.py", line 126, in info return _call_and_parse_json(['info', '--json'], platform=platform) File "//anaconda3/lib/python3.7/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 "//anaconda3/lib/python3.7/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\'")'