I thought I had an issue and tried to uninstall Anaconda. It seems to re-install but when I try to run the navigator, the anaconda prompt will flash 3 times and then crash. When I try to input anything into the prompt I get the following error.
(base) C:\Users\bswri>conda install anaconda-clean
KeyError(‘pkgs_dirs’)
Traceback (most recent call last):
File “C:\ProgramData\anaconda3\lib\site-packages\conda\exceptions.py”, line 1132, in call
return func(*args, **kwargs)
File “C:\ProgramData\anaconda3\lib\site-packages\conda\cli\main.py”, line 57, in main_subshell
p = generate_parser()
File “C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py”, line 92, in generate_parser
configure_parser_create(sub_parsers)
File “C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py”, line 704, in configure_parser_create
add_parser_solver(solver_mode_options)
File “C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py”, line 1883, in add_parser_solver
solver_choices = [solver.name for solver in context.plugin_manager.get_hook_results(“solvers”)]
File “C:\ProgramData\anaconda3\lib\site-packages\conda\plugins\manager.py”, line 101, in get_hook_results
(item for items in hook() for item in items),
TypeError: ‘NoneType’ object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\ProgramData\anaconda3\lib\site-packages\conda\exceptions.py”, line 1252, in print_unexpected_error_report
message_builder.append(get_main_info_str(error_report[‘conda_info’]))
File “C:\ProgramData\anaconda3\lib\site-packages\conda\cli\main_info.py”, line 239, in get_main_info_str
info_dict[‘_’ + key] = (‘\n’ + 26 * ’ ').join(info_dict[key])
KeyError: ‘pkgs_dirs’
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\lib\site-packages\conda\exceptions.py", line 1132, in __call__
return func(*args, **kwargs)
File "C:\ProgramData\anaconda3\lib\site-packages\conda\cli\main.py", line 57, in main_subshell
p = generate_parser()
File "C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 92, in generate_parser
configure_parser_create(sub_parsers)
File "C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 704, in configure_parser_create
add_parser_solver(solver_mode_options)
File "C:\ProgramData\anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 1883, in add_parser_solver
solver_choices = [solver.name for solver in context.plugin_manager.get_hook_results("solvers")]
File "C:\ProgramData\anaconda3\lib\site-packages\conda\plugins\manager.py", line 101, in get_hook_results
(item for items in hook() for item in items),
TypeError: 'NoneType' object is not iterable
$ C:\ProgramData\anaconda3\Scripts\conda-script.py install anaconda-clean
I am new to this and don’t know what to do next.
Please help