Hi all!

Any suggestions with the problem described below would be greatly 
appreciated. 

I'm having issues with Anaconda. My problems started after I tried updating 
Spyder. Here's the sequence of events:

   - I opened Anaconda
   - I opened Spyder
   - A tab popped up indicating that I could update to the newest version 
   of Spyder. (I can't remember which version.) 
   - The tab stated that in order to prompt this update, I had to run a 
   couple lines of code in my Terminal
   - The code was provided on the tab. (Unfortunately, I don't remember the 
   code, otherwise I'd include it in this email.)
   - I ran the code in the Terminal
   - I tried reopening Anaconda
   - A Navigation Error appeared on my browser.
   - I've pasted the text from the Navigation Error below. (The same 
   Navigation Error appears every time I try to open Anaconda.):

*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/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 68, in _call_conda
    (p, stdout_lines, stderr_lines) = streaming_popen.popen(cmd_list,
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/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/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/logged_subprocess.py",
 
line 27, in Popen
    return subprocess.Popen(args=args, **kwargs)
  File "/Users/nicholassimon/opt/anaconda3/lib/python3.9/subprocess.py", 
line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Users/nicholassimon/opt/anaconda3/lib/python3.9/subprocess.py", 
line 1821, 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/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/exceptions.py",
 
line 72, in exception_handler
    return_value = func(*args, **kwargs)
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/app/start.py",
 
line 151, in start_app
    window = run_app(splash)
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/app/start.py",
 
line 66, in run_app
    window = MainWindow(splash=splash)
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/widgets/main_window/__init__.py",
 
line 235, in __init__
    self.api = AnacondaAPI()
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/api/anaconda_api.py",
 
line 1442, in AnacondaAPI
    ANACONDA_API = _AnacondaAPI()
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/api/anaconda_api.py",
 
line 82, in __init__
    self._project_api = ProjectAPI()
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/api/project_api.py",
 
line 154, in ProjectAPI
    PROJECT_API = _ProjectAPIWrapper()
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_navigator/api/project_api.py",
 
line 58, in __init__
    from anaconda_project.api import AnacondaProject
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/api.py",
 
line 24, in
    from anaconda_project import prepare, project, provide, project_ops
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/prepare.py",
 
line 19, in
    from anaconda_project.internal import conda_api
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 626, in
    _default_platforms_with_current = 
tuple(sorted(list(set(default_platforms + (current_platform(), )))))
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 622, in current_platform
    conda_info = info()
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 117, in info
    return _call_and_parse_json(['info', '--json'], platform=platform)
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 104, in _call_and_parse_json
    out = _call_conda(extra_args, json_mode=True, platform=platform)
  File 
"/Users/nicholassimon/opt/anaconda3/lib/python3.9/site-packages/anaconda_project/internal/conda_api.py",
 
line 73, 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')"

I've been looking for solutions online but haven't had any luck yet. I've 
also tried reaching out to folks at Anaconda (per the Navigation Error) but 
haven't heard back yet. 

I'd love to get your thoughts—very open to any suggestions!

Thanks,
Nick

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/9457ad8a-30fa-49fd-b1a1-7ecd99df1e60n%40googlegroups.com.

Reply via email to