Cleaning Up After Uninstalling Anaconda on Windows 10

Anaconda is a popular distribution of Python and R for scientific computing. It’s a fantastic tool for data scientists, but there may come a time when you need to uninstall it. This blog post will guide you through the process of cleaning up your system after uninstalling Anaconda on Windows 10.

Anaconda is a popular distribution of Python and R for scientific computing. It’s a fantastic tool for data scientists, but there may come a time when you need to uninstall it. This blog post will guide you through the process of cleaning up your system after uninstalling Anaconda on Windows 10.

Table of Contents

  1. Uninstalling Anaconda
  2. Cleaning Up After Uninstalling Anaconda
  3. Removing Anaconda from the PATH
  4. Conclusion

Uninstalling Anaconda

Before we dive into the cleanup process, let’s briefly touch on how to uninstall Anaconda. You can do this through the Windows 10 Add or Remove Programs feature:

  1. Open the Start menu and type Add or Remove Programs.
  2. Scroll down until you find Anaconda.
  3. Click on Anaconda and then click Uninstall.
  4. Follow the prompts to complete the uninstallation process.

Alt text

Cleaning Up After Uninstalling Anaconda

Even after uninstalling Anaconda through the ‘Add or Remove Programs’ feature, some files and folders may still be left behind. These residual files can take up valuable space on your hard drive and may cause conflicts with other programs. Here are the folders you should consider removing:

  1. Anaconda Install Directory: This is the main folder where Anaconda was installed. The default location is C:\Users\<YourUsername>\Anaconda3. If you chose a custom location during installation, you’ll need to navigate there instead.

  2. Anaconda’s Scripts Directory: This directory contains scripts for launching Anaconda and its tools. It’s located in the Anaconda install directory under Scripts.

  3. Anaconda’s pkgs Directory: This directory contains packages that Anaconda has downloaded. It’s located in the Anaconda install directory under pkgs.

  4. .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.

  5. .conda and .condarc: These directories contain Conda’s settings and environments. They are located in your home directory at C:\Users\<YourUsername>\.conda and C:\Users\<YourUsername>\.condarc.

  6. .ipython and .jupyter: These directories contain settings for IPython and Jupyter. They are located in your home directory at C:\Users\<YourUsername>\.ipython and C:\Users\<YourUsername>\.jupyter.

  7. .keras and .matplotlib: These directories contain settings for Keras and Matplotlib. They are located in your home directory at C:\Users\<YourUsername>\.keras and C:\Users\<YourUsername>\.matplotlib.

Before deleting these folders, make sure to back up any data or settings you want to keep. Once you’ve done that, you can delete the folders by right-clicking on them and selecting Delete, or by using the del command in the Command Prompt.

Removing Anaconda from the PATH

Anaconda adds itself to the PATH environment variable during installation. To remove it:

  1. Right-click on This PC and select Properties.
  2. Click on Advanced system settings.
  3. Click on Environment Variables.
  4. Under System variables, scroll down until you find Path and click on Edit.
  5. Remove any entries that reference Anaconda.

Alt text

Conclusion

Uninstalling Anaconda and cleaning up residual files is a straightforward process. By following these steps, you can ensure that your system is clean and ready for your next adventure in data science.


About Saturn Cloud

Saturn Cloud is your all-in-one solution for data science & ML development, deployment, and data pipelines in the cloud. Spin up a notebook with 4TB of RAM, add a GPU, connect to a distributed cluster of workers, and more. Request a demo today to learn more.