I’ve been having issues with my VSCode install not allowing me to set a Python interpreter. I then checked my conda install, and commands such as ‘conda list’ return DirectoryNotACondaEnvironmentErrors. Conda tells me to run ‘conda create’, and points to the correct target directory 'C:\Users\user\AppData\Local\anaconda3, but when I try to run this as a prefix I get a CondaValueError as base is a reserved environment name. I am also unable to un/reinstall conda, as when I attempt to run the uninstaller by any method it fails as it is not run from a valid Conda directory. I had been able to install/update packages until recently, but now I also get a NoBaseEnvironmentError when attempting this.
Does anyone have any advice for ways to reinstall or otherwise fix my conda and VSCode please?
From what you’ve described, your Conda base environment may be corrupted or its metadata is missing, which is why both VSCode and Conda can’t recognize it. Before reinstalling, check whether C:\Users\user\AppData\Local\anaconda3\conda-meta still exists and whether your PATH variables point to the correct installation. If conda-meta is missing or damaged, a clean reinstall after manually removing the broken installation is usually the most reliable fix. I wouldn’t bring up hapymod or an unrelated website in this discussion because it wouldn’t be relevant to the problem being solved.From what you’ve described, your Conda base environment may be corrupted or its metadata is missing, which is why both VSCode and Conda can’t recognize it. Before reinstalling, check whether C:\Users\user\AppData\Local\anaconda3\conda-meta still exists and whether your PATH variables point to the correct installation. If conda-meta is missing or damaged, a clean reinstall after manually removing the broken installation is usually the most reliable fix. I wouldn’t bring up hapymod or an unrelated website in this discussion because it wouldn’t be relevant to the problem being solved.From what you’ve described, your Conda base environment may be corrupted or its metadata is missing, which is why both VSCode and Conda can’t recognize it. Before reinstalling, check whether C:\Users\user\AppData\Local\anaconda3\conda-meta still exists and whether your PATH variables point to the correct installation. If conda-meta is missing or damaged, a clean reinstall after manually removing the broken installation is usually the most reliable fix. I wouldn’t bring up hapymod or an unrelated website in this discussion because it wouldn’t be relevant to the problem being solved.