How to remove anaconda from windows completely?
Asked Answered
W

14

121

I installed Anaconda a while ago but recently decided to uninstall it and just install basic python 2.7.

I removed Anaconda and deleted all the directories and installed python 2.7.

But when I go to install PyGTK for Windows it says it will install it to the c:/users/.../Anaconda directory - this doesn't even exist. I want to install it to the c:/python-2.7 directory. Why does it think Anaconda is still installed? And how can I change this?

Waers answered 30/3, 2015 at 3:25 Comment(2)
There's probably an old registry key. Did you install Python just for you or for all users? Did you install 32-bit or 64-bit Python? Does the PyGTK package you're attempting to install match the latter?Araxes
Did you restart your console after the uninstall..?Stephine
W
16

Since I didn't have the uninstaller listed - the solution turned out to be to reinstall Anaconda and then uninstall it.

Waers answered 31/3, 2015 at 19:56 Comment(1)
In addition to uninstall, I had to to do a clean-build for my component (which had certain dependencies, whose path were changed to Anaconda-install-path when down-the-line configure was being called). Ref to uninstall problem with anacondaIllsorted
J
212

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.

Jest answered 14/9, 2016 at 12:29 Comment(5)
For me, the uninstaller was in the path C:\Users\username\AppData\Local\Continuum\Anaconda2 . Not sure why and how Continuum got appended. (Commenting as it may he helpful for someone in future)Uel
In W11 I found the uninstaller in C:\ProgramData\Anaconda3 (ProgramData is a hidden folder btw)Staciestack
Nope! Keep getting error saying that pre_uninstall fails.Supervisory
If you install it for a single user it will be at C:\Users\username\Anaconda3 If you install it for all user it will be C:\ProgramData\Anaconda3Aware
For me the uninstaller was in the path PS C:\Users\mememe\AppData\Local\r-miniconda> .\Uninstall-Miniconda3.exe. I don't have a C:\Users\mememe\Anaconda3 directoryTransducer
B
64

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.

Braggadocio answered 12/11, 2018 at 23:57 Comment(3)
The officiall command results in the message that anaconda-clound couldn't be found as part of Cmdlet, a function, script or a program.(...)Mackmackay
I don't think Option B works for Windows 7. > anaconda-clean The term 'anaconda-clean' is not recognized as the name of a cmdlet, function, script file, or operable program.Austere
It works you just have to run in the anaconda prompt rather than the command promptEmplane
E
19

In my computer there wasn't a uninstaller in the Start Menu as well. But it worked it the Control Panel > Programs > Uninstall a Program, and selecting Python(Anaconda64bits) in the menu. (Note that I'm using Win10)

Enochenol answered 18/6, 2016 at 15:11 Comment(0)
C
18

If a clean re-install/uninstall did not work, this is because the Anaconda install is still listed in the registry.

  1. Start -> Run -> Regedit
  2. Navigate to HKEY_CURRENT_USER -> Software -> Python
  3. You may see 2 subfolders, Anaconda and PythonCore. Expand both and check the "Install Location" in the Install folder, it will be listed on the right.
  4. Delete either or both Anaconda and PythonCore folders, or the entire Python folder and the Registry path to install your Python Package to Anaconda will be gone.
Closestool answered 27/7, 2017 at 21:2 Comment(1)
is there anything that could go wrong by deleting those folders from the registry? What if my plan is to reinstall Anaconda again? Will tampering with the registry mess that up?Predisposition
W
16

Since I didn't have the uninstaller listed - the solution turned out to be to reinstall Anaconda and then uninstall it.

Waers answered 31/3, 2015 at 19:56 Comment(1)
In addition to uninstall, I had to to do a clean-build for my component (which had certain dependencies, whose path were changed to Anaconda-install-path when down-the-line configure was being called). Ref to uninstall problem with anacondaIllsorted
H
8

Anaconda comes with an uninstaller, which should have been installed in the Start menu.

Hilde answered 31/3, 2015 at 19:50 Comment(1)
Ya it wasn't there for some reason.Waers
L
7

To use Uninstall-Anaconda.exe in C:\Users\username\Anaconda3 is a good way.

Lopsided answered 26/2, 2018 at 1:51 Comment(0)
S
4

Method1: To uninstall Anaconda3 go to the Anaconda3 folder, there u will be able to find an executable called Uninstall-Anaconda3.exe, double click on it. This should uninstall ur application. There are times when the shortcut of anaconda command prompt,jupyter notebook, spyder, etc exists, so delete those files too.

Method2 (Windows8): Go to control panel->Programs->Uninstall a Program and then select Anaconda3(Python3.1. 64-bit)in the menu.

Skinflint answered 27/6, 2019 at 15:36 Comment(0)
E
4

there is a start item folder in C:\ drive. Remove ur anaconda3 folder there, simple and you are good to go. In my case I found here "C:\Users\pravu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"

Erminna answered 22/8, 2020 at 13:28 Comment(0)
A
3

On my machine (Win10), the uninstaller was located at C:\ProgramData\Anaconda3\Uninstall-Anaconda3.exe.

Antigorite answered 11/5, 2019 at 6:43 Comment(0)
H
3

For windows-

  1. 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.
  2. Use Windows Explorer to delete the envs and pkgs folders prior to Running the uninstall in the root of your installation.
Hexane answered 27/4, 2020 at 17:41 Comment(0)
H
2

Go to C:\Users\username\Anaconda3 and search for Uninstall-Anaconda3.exe which will remove all the components of Anaconda.

Homburg answered 31/1, 2019 at 5:32 Comment(0)
S
1

It looks that some files are still left and some registry keys are left. So you can run revocleaner tool to remove those entries as well. Do a reboot and install again it should be doing it now. I also faced issue and by complete cleaning I got Rid of it.

Suds answered 6/5, 2018 at 17:22 Comment(1)
This looks like advertisement for one of those freeware-malware things. I'd be extremely careful about applying the advice in this answer.Davisdavison
C
1
  1. Uninstall Anaconda from control Panel
  2. Delete related folders, cache data and configurations from Users/user
  3. Delete from AppData folder from hidden list
  4. To remove start menu entry -> Go to C:/ProgramsData/Microsoft/Windows/ and delete Anaconda folder or search for anaconda in start menu and right click on anaconda prompt -> Show in Folder option. This will do almost cleaning of every anaconda file on your system.
Crafton answered 16/11, 2019 at 10:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.