I uninstalled a package (with conda uninstall
) from my base environment. However, the process apparently removed packaging
too. So now, conda commands don’t work and I can’t open Anaconda Navigator. I have already created other environments, and my OS is Windows 11. How should I recover Anaconda Navigator? The traceback is below.
Traceback (most recent call last):
File “C:\ProgramData\Anaconda3\Scripts\conda-script.py”, line 11, in
from conda.cli import main
File “C:\ProgramData\Anaconda3\lib\site-packages\conda\cli_init_.py”, line 3, in
from .main import main # NOQA
File “C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py”, line 6, in
from …deprecations import deprecated
File “C:\ProgramData\Anaconda3\lib\site-packages\conda\deprecations.py”, line 13, in
from packaging.version import Version, parse
ModuleNotFoundError: No module named ‘packaging’