-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Checklist
- I added a descriptive title
- I searched open reports and couldn't find a duplicate
What happened?
After successfully updating my Conda version using the command, Conda stopped functioning and is now displaying the following error.
Conda update command:
conda install -n base conda=23.7.3 conda-build=3.26.1
After the update, I am getting this error:
`Traceback (most recent call last):
File "/anaconda/lib/python3.8/site-packages/conda/exception_handler.py", line 17, in call
return func(*args, **kwargs)
File "/anaconda/lib/python3.8/site-packages/conda/cli/main.py", line 54, in main_subshell
parser = generate_parser(add_help=True)
File "/anaconda/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 115, in generate_parser
configure_parser_create(sub_parsers)
File "/anaconda/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 767, in configure_parser_create
add_parser_solver(solver_mode_options)
File "/anaconda/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 1975, in add_parser_solver
solver.name for solver in context.plugin_manager.get_hook_results("solvers")
File "/anaconda/lib/python3.8/site-packages/conda/base/context.py", line 492, in plugin_manager
from ..plugins.manager import get_plugin_manager
File "/anaconda/lib/python3.8/site-packages/conda/plugins/init.py", line 28, in
from .hookspec import hookimpl # noqa: F401
File "/anaconda/lib/python3.8/site-packages/conda/plugins/hookspec.py", line 16, in
from .types import (
File "/anaconda/lib/python3.8/site-packages/conda/plugins/types.py", line 15, in
from ..core.solve import Solver
File "/anaconda/lib/python3.8/site-packages/conda/core/solve.py", line 30, in
from ..exceptions import (
File "/anaconda/lib/python3.8/site-packages/conda/exceptions.py", line 16, in
from requests.exceptions import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'requests.exceptions' (/anaconda/lib/python3.8/site-packages/requests/exceptions.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda/bin/conda", line 13, in
sys.exit(main())
File "/anaconda/lib/python3.8/site-packages/conda/cli/main.py", line 109, in main
return conda_exception_handler(main, *args, **kwargs)
File "/anaconda/lib/python3.8/site-packages/conda/exception_handler.py", line 389, in conda_exception_handler
return_value = exception_handler(func, *args, **kwargs)
File "/anaconda/lib/python3.8/site-packages/conda/exception_handler.py", line 20, in call
return self.handle_exception(exc_val, exc_tb)
File "/anaconda/lib/python3.8/site-packages/conda/exception_handler.py", line 52, in handle_exception
from .exceptions import (
File "/anaconda/lib/python3.8/site-packages/conda/exceptions.py", line 16, in
from requests.exceptions import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'requests.exceptions' (/anaconda/lib/python3.8/site-packages/requests/exceptions.py)`
Conda Info
N/A
Conda Config
N/A
Conda list
N/A
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status