Python Anaconda - How to Safely Uninstall

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.

Uninstalling Anaconda Safely While Maintaining Pip Installs

Conda is a package manager, just like pip. But conda also manages the python environments which are used to run your code. If you uninstall conda, it is very likely that it will uninstall all your current packages.

After re-installation, I recommend that you only use conda or pip for your packages but not both at the same time, and that you use conda for environment managing.

For each different kinds of projects, you should create a new python environment by running

conda create -n my-new-environment python=3 
#example

And only installing your packages with pip or conda.

This way each python environment is not polluted by the others and you have less risk to lose everything if one environment fails.

For more information of Python environments I recommend that you read the Python documentation on these subjects: https://docs.python.org/3/tutorial/venv.html

How can I uninstall package from anaconda

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.



Related Topics



Leave a reply



Submit