How to remove anaconda from windows completely?

PythonWindowsAnaconda

Python Problem Overview


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?

Python Solutions


Solution 1 - Python

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.

Solution 2 - Python

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.

Solution 3 - Python

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)

Solution 4 - Python

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.

Solution 5 - Python

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

Solution 6 - Python

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

Solution 7 - Python

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

Solution 8 - Python

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.

Solution 9 - Python

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.

Solution 10 - Python

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

Solution 11 - Python

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.

Solution 12 - Python

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"

Solution 13 - Python

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

Solution 14 - Python

  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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionsci-guyView Question on Stackoverflow
Solution 1 - PythonAeryliaView Answer on Stackoverflow
Solution 2 - PythonJakobView Answer on Stackoverflow
Solution 3 - PythonRafael PachecoView Answer on Stackoverflow
Solution 4 - PythonAnthonyTView Answer on Stackoverflow
Solution 5 - Pythonsci-guyView Answer on Stackoverflow
Solution 6 - PythonasmeurerView Answer on Stackoverflow
Solution 7 - PythonbruceView Answer on Stackoverflow
Solution 8 - PythonShivangi View Answer on Stackoverflow
Solution 9 - Pythonsunilyadav0201View Answer on Stackoverflow
Solution 10 - PythonthinktwiceView Answer on Stackoverflow
Solution 11 - PythonHit2MoView Answer on Stackoverflow
Solution 12 - PythonPravu ChaudharyView Answer on Stackoverflow
Solution 13 - PythondfafaView Answer on Stackoverflow
Solution 14 - PythonKrunal DholakiaView Answer on Stackoverflow