🌐
Anaconda
anaconda.com › docs › getting-started › anaconda › uninstall
Uninstalling Anaconda Distribution - Anaconda
Uninstall the directory by running the following command: C:\Users\<YOUR_USERNAME>\anaconda3\_conda constructor uninstall --prefix <PATH_TO_ENV_DIRECTORY>
🌐
Apple Community
discussions.apple.com › thread › 252602149
Uninstall Anaconda from macOS Big Sur - Apple Community
March 27, 2021 - I was wondering if someone can please help me figure it our what to do. I followed the instruction on the official website (https://docs.anaconda.com/anaconda/install/uninstall/) plus some other guides, but I'm note an expert and I didn't reach my goal. That's what I did: 1) conda install anaconda-clean 2) anaconda-clean --yes 3) rm -rf ~/.condarc ~/.conda ~/.continuum 4) rm -rf ~/anaconda 5) conda remove -n myenv scipy
Discussions

Anaconda Uninstaller Does Not Work Due to Pre_uninstaller
Checklist I added a descriptive title I searched open reports and couldn't find a duplicate What happened? I tried to make a new anaconda environment, and must have messed up, as doing so made ... More on github.com
🌐 github.com
2
March 19, 2024
Moron alert: help me recover from dirty uninstall of Anaconda on Windows 10 (involves Git-Bash.exe)
Update: I seemingly solve the "not a conda environment" problem by opening Anaconda Navigator; going to file -> preferences -> configure navigator; changing the value of default_env from "C:\ProgramData\Anaconda3" to "C:\users\me\Anaconda3"; and clicking "save and restart". More on reddit.com
🌐 r/learnpython
4
3
February 18, 2021
I can't uninstall Anaconda3 in my system
Checklist I added a descriptive title. I searched through existing issues and couldn't find a solution or duplicate issue. I searched on the web (e.g. Google) and didn't find any helpful in... More on github.com
🌐 github.com
6
December 22, 2022
Uninstalling Anaconda fails on Windows machine - Product Help - Anaconda Forum
Help! I am trying to uninstall Anaconda from my device, but when I run Uninstall-Anaconda.exe or attempt to uninstall from the Windows settings menu, the uninstaller says “Failed to run pre_uninstall” and it does not successfully install. I need to remove this from my machine and I don’t ... More on forum.anaconda.com
🌐 forum.anaconda.com
1
June 16, 2023
🌐
Stack Overflow
chat.stackoverflow.com › transcript › 257109 › 2024 › 3 › 8 › 17-19
Discussion between topsail and Catalin Ionita - 2024-03-08
When I click on install it says the following: NoBaseEnvironmentError: This conda installation has... ... "Path\anaconda3 is not a valid directory. Please run the uninstaller from a conda directory." Have you tried looking for an uninstaller in the directory where conda is installed?
🌐
GitHub
github.com › conda › constructor › issues › 766
Anaconda Uninstaller Does Not Work Due to Pre_uninstaller · Issue #766 · conda/constructor
March 19, 2024 - Now, however, I can't even run the uninstaller, and the control panel does not detect the existence of the app (not much of a loss, as this didn't work before). I was able to successfully redownload and uninstall another version of Anaconda without issue, but I can no longer set Anaconda as my default python environment due to the python already in the folder. As for trying to uninstall it now, I get this error: 'conda' is not recognized as an internal or external command, operable program or batch file.
Author   pratyush-k-singh
🌐
Reddit
reddit.com › r/learnpython › moron alert: help me recover from dirty uninstall of anaconda on windows 10 (involves git-bash.exe)
r/learnpython on Reddit: Moron alert: help me recover from dirty uninstall of Anaconda on Windows 10 (involves Git-Bash.exe)
February 18, 2021 -

[PROBABLY SOLVED NOW]

How I ended up here: I performed a dirty uninstallation of Anaconda last night and now I have something weird going on with Anaconda. I'm hoping you can help get me out of it.

Background: I'm running Windows 10 Pro x64. At one point I had an installation of Anaconda in C:\ProgramData\Anaconda3; I just uninstalled it using only uninstall-anaconda3.exe, which I later found out was dumb. I have reinstalled Anaconda to C:\Users\me\Anaconda3. None of my environment variables has or has ever had anything python-related or Anaconda-related in it. But I think I have some leftover things from that installation.

Specifics: A few things have happened which suggest that this is the case:

  • First, when I try to install Jupyter Notebook from Anaconda Navigator, I get the following: EnvironmentLocationNotFound: Not a conda environment: C:\ProgramData\Anaconda3.

  • Second, most importantly: I have Microsoft Git installed on my computer. Back when I had Anaconda installed to ProgramData, I did some stuff to cause git-bash.exe to start with my base Anaconda environment activated. (That stuff included adding a line to C:\users\me\.bashrc. But I cleared out that .bashrc file right after uninstalling Anaconda3 from ProgramData). But now, it does not do that and instead causes me to get the following message: bash: /c/ProgramData/Anaconda3/Scripts/conda.exe: No such file or directory.

  • The word "ProgramData" does not appear in any registry keys in any of the following locations:

    • HKEY_CURRENT_USER\Software\Python

    • HKEY_LOCAL_MACHINE\SOFTWARE\Python (this seems to have nothing interesting)

    • I don't have any other registry locations whose paths contain the word "Python."

Question: I would like to

  1. make it so that git-bash starts with my base anaconda environment activated,

  2. generally clean up junk from old Anaconda install,

  3. find out what else to add to or remove from this question.

🌐
GitHub
github.com › ContinuumIO › anaconda-issues › issues › 13109
I can't uninstall Anaconda3 in my system · Issue #13109 · ContinuumIO/anaconda-issues
December 22, 2022 - A full uninstall removes all traces of the configuration files and directories from Anaconda and its programs with the anaconda-clean program. In Windows, open Anaconda Prompt. In Mac or Linux, open your terminal application... ... I followed the steps one by one but still, the completed shows after uninstallation, and I can run the conda env list command (even conda list):
Author   shayandavoodii
🌐
GitHub
github.com › conda › constructor › blob › main › constructor › nsis › main.nsi.tmpl
constructor/constructor/nsis/main.nsi.tmpl at main · conda/constructor
${Print} "::error:: $INSTDIR is not a valid conda directory. Please run the uninstaller from a conda directory."
Author   conda
🌐
Saturn Cloud
saturncloud.io › blog › cleaning-up-after-uninstalling-anaconda-on-windows-10
Cleaning Up After Uninstalling Anaconda on Windows 10 | Saturn Cloud Blog
August 8, 2023 - .anaconda_backup: When you uninstall Anaconda, a backup of your settings is created in your home directory. This is typically located at C:\Users\<YourUsername>\.anaconda_backup. .conda and .condarc: These directories contain Conda’s settings and environments.
Find elsewhere
🌐
MiniTool
minitool.com › home › news › how to uninstall anaconda on mac and windows? see a full guide!
How to Uninstall Anaconda on Mac and Windows? See a Full Guide! - MiniTool
May 28, 2024 - Just open Terminal in your Mac and run these commands – conda install anaconda-clean and anaconda-clean or anaconda-clean –yes. To remove the entire Anaconda directory, you can run the command – rm -rf ~/anaconda3 in Terminal.
🌐
Anaconda Forum
forum.anaconda.com › product help
Uninstalling Anaconda fails on Windows machine - Product Help - Anaconda Forum
June 16, 2023 - Help! I am trying to uninstall Anaconda from my device, but when I run Uninstall-Anaconda.exe or attempt to uninstall from the Windows settings menu, the uninstaller says “Failed to run pre_uninstall” and it does not suc…
Top answer
1 of 15
220

In the folder where you installed Anaconda (Example: C:\Users\username\Anaconda3) there should be an executable called Uninstall-Anaconda.exe. Double click on this file to start uninstall Anaconda.

That should do the trick as well.

2 of 15
66

I think this is the official solution: https://docs.anaconda.com/anaconda/install/uninstall/

[Unfortunately I did the simple remove (Uninstall-Anaconda.exe in C:\Users\username\Anaconda3 following the answers in stack overflow) before I found the official article, so I have to get rid of everything manually.]

But for the rest of you the official full removal could be interesting, so I copied it here:

To uninstall Anaconda, you can do a simple remove of the program. This will leave a few files behind, which for most users is just fine. See Option A.

If you also want to remove all traces of the configuration files and directories from Anaconda and its programs, you can download and use the Anaconda-Clean program first, then do a simple remove. See Option B.

  1. Option A. Use simple remove to uninstall Anaconda:

    • Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
    • [... also solutions for Mac and Linux are provided here: https://docs.anaconda.com/anaconda/install/uninstall/ ]
  2. Option B: Full uninstall using Anaconda-Clean and simple remove.

    NOTE: Anaconda-Clean must be run before simple remove.

    • Install the Anaconda-Clean package from Anaconda Prompt (Terminal on Linux or macOS):

      conda install anaconda-clean
      
    • In the same window, run one of these commands:

      • Remove all Anaconda-related files and directories with a confirmation prompt before deleting each one:

        anaconda-clean
        
      • Or, remove all Anaconda-related files and directories without being prompted to delete each one:

        anaconda-clean --yes
        

      Anaconda-Clean creates a backup of all files and directories that might be removed in a folder named .anaconda_backup in your home directory. Also note that Anaconda-Clean leaves your data files in the AnacondaProjects directory untouched.

    • After using Anaconda-Clean, follow the instructions above in Option A to uninstall Anaconda.

🌐
Super User
superuser.com › questions › 1834074 › unable-to-uninstall-anaconda3-on-windows-11
python - Unable to Uninstall Anaconda3 on Windows 11 - Super User
March 5, 2024 - Even though the image shows Uninstallation complete, the list in Programs and Features till has Anaconda3 and I am still able to run python.
🌐
ThinkMobiles
thinkmobiles.com › home › blog › how to uninstall anaconda
3 ways to uninstall Anaconda completely on Windows
February 9, 2026 - ... Open the Task Manager (Ctrl+Shift+Esc), go to the Processes tab. Obviously, close Anaconda applications – detect the conda.exe process and end it, as well as any other tasks related to Anaconda or Python.
🌐
Readthedocs-hosted
continuumio-docs.readthedocs-hosted.com › miniconda › uninstall
Uninstalling Miniconda — Anaconda documentation
Uninstall the directory by running the following command: # Replace <YOUR_USERNAME> with your Windows username # Replace <PATH_TO_ENV_DIRECTORY> with the path to the directory that contains the environments C:\Users\<YOUR_USERNAME>\miniconda3\_conda constructor uninstall --prefix ...
🌐
GitHub
github.com › ContinuumIO › anaconda-issues › issues › 13381
Can't uninstall miniconda (after failed install): "Failed to run pre_uninstall" · Issue #13381 · ContinuumIO/anaconda-issues
May 9, 2024 - If, during the uninstall, I ignore the "Failed to run pre_uninstall" prompt, I get another error: "Failed to run rmpath". If i ignore that i get another one: "Failed to run rmreg". If i ignore that, the uninstaller completes. I finish and exit, however miniconda remains in my programs - even though its not working. I can't run conda info/conda config as conda did not install.
Author   morrisseyj