How to Remove Anaconda from Windows Completely

How to remove anaconda from windows completely?

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

How can I completely uninstall Anaconda and its packages?

The Anaconda uninstaller leaves out .conda and .anaconda_backups, where much metadata remains cached. Further, some packages install their own folders outside of the root Anaconda folder which aren't targeted by the uninstaller. Lastly, for "completeness", we may delete Registry keys, but this shouldn't be necessary most of the time.

Below are the steps I took to resolve my problem with Spyder; for other packages, simply replace "spyder" in pertinent steps.

  1. Delete Anaconda/envs and Anaconda/pkgs

  2. Run Uninstall-Anaconda3.exe

  3. Optional: Start -> Run -> regedit, delete:

    • HKEY_CURRENT_USER -> Software -> Python
    • HKEY_LOCAL_MACHINE_USER -> SOFTWARE -> Python
  4. Delete:

    • C:\Users\.conda
    • C:\Users\.anaconda_backup
    • C:\Users\.spyder
    • C:\Users\.spyder-py3 NOTE: backup config folder inside before deleting
    • C:\Users\Name\AppData\Local\conda
    • C:\Users\Name\AppData\Local\Spyder
    • C:\Users\Name\AppData\Local\Temp\spyder
    • C:\Users\Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)
    • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.7
  5. Search **conda**, then **spyder**, in C: and D: to ensure nothing remains, except:

    • Anaconda3-2020.02-Windows-x86_64.exe (assuming already installed; can be another version)
    • Files in .vscode\extensions
    • Files in Microsoft Visual Studio\...\Extensions
  6. If conda or Python (PYTHONPATH) are system environment variables, remove them

  7. Reboot device

  8. Validate hashes

  9. Close other applications

  10. Run Anaconda3-2020.02-Windows-x86_64.exe

  11. Launch Anaconda Powershell Prompt

  12. spyder

Note that this doesn't guarantee everything is "truly absolutely" deleted; for that one needs to format the hard drive, but this shouldn't ever be necessary.

Python - How can I completely uninstall Anaconda on Windows 10?

I'm running Windows 10 Pro Version 1703 OS Build 15063.786. I'm not sure if a Windows update is what caused the issue. Ultimately, all the shortcuts were pointing to things that no longer existed. I performed the following task.

  1. Uninstall Anaconda using the standard Windows uninstall process.
  2. Reboot.
  3. Scour the ENTIRE hard drive looking for anything remotely related to the Anaconda installation and manually delete it. I don't remember all the exact folders but I do remember specifically in C:\Users\Bob, there was a .Anaconda and a .IPython and a .Jupyter file. All those had to go. C:\Users\Bob\Anaconda3 also had to be manually deleted along with some files that were just hanging out in C:\ProgramData\Anaconda3 that somehow refused to be deleted.
  4. Manually delete the shortcuts in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit).
  5. Reboot.
  6. Reinstall Anaconda.
  7. Reboot.

Everything is back to normal. Special thanks to sytech. Checking the environment variables didn't provide a solution but it put me on the right investigative track.

How to completely uninstall anaconda and jupyter? Windows 10

Completely uninstall jupyter:

pip install pip-autoremove
pip-autoremove jupyter -y
pip-autoremove jupyter-core -y

After that run

pip freeze | grep jupyter

and remove any packages with pip uninstall {package-name}.

If pip doesn't work try pip3.

Completely uninstall anaconda:

conda install anaconda-clean
anaconda-clean --yes

Then uninstall via control panel.



Related Topics



Leave a reply



Submit