如何完全从Windows中删除anaconda?

时间:2022-12-05 22:17:55

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

我刚刚安装了anaconda,但最近决定卸载它,只安装基本的python 2.7。

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

我删除了anaconda并删除了所有目录并安装了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?

但是,当我去安装pygtk for windows时,它会将它安装到c:/ users /.../ Anaconda目录 - 这甚至不存在。我想将它安装到c:/python-2.7目录。为什么还认为anaconda仍在安装?我怎么能改变这个?

7 个解决方案

#1


71  

In the folder where you installed anaconda (for me: C:\Users\username\Anaconda3) there should be an executable called Uninstall-Anaconda.exe. That should do the trick as well.

在您安装anaconda的文件夹中(对我来说:C:\ Users \ username \ Anaconda3)应该有一个名为Uninstall-Anaconda.exe的可执行文件。这应该也可以解决问题。

#2


9  

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

由于我没有列出卸载程序 - 解决方案原来是重新安装Anaconda然后卸载它。

#3


8  

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)

在我的计算机中,开始菜单中也没有卸载程序。但它在控制面板>程序>卸载程序,并在菜单中选择Python(Anaconda64bits)。 (注意我正在使用Win10)

#4


7  

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

如果干净的重新安装/卸载不起作用,这是因为Anaconda安装仍然在注册表中列出。

  1. Start -> Run -> Regedit
  2. 开始 - >运行 - > Regedit
  3. Navigate to HKEY_CURRENT_USER -> Software -> Python
  4. 导航到HKEY_CURRENT_USER - >软件 - > Python
  5. 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.
  6. 你可能会看到2个子文件夹,Anaconda和PythonCore。展开两个并选中Install文件夹中的“Install Location”,它将在右侧列出。
  7. 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.
  8. 删除Anaconda和PythonCore文件夹中的任何一个或两者,或整个Python文件夹和注册表路径以将Python包安装到Anaconda将会消失。

#5


5  

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

Anaconda附带一个卸载程序,它应该已经安装在“开始”菜单中。

#6


1  

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

在C:\ Users \ username \ Anaconda3中使用Uninstall-Anaconda.exe是一个好方法。

#7


0  

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.

它看起来仍然留下一些文件,并留下一些注册表项。因此,您可以运行revocleaner工具来删除这些条目。重新启动并重新安装它应该现在就做。我也面临问题,通过彻底的清洁,我摆脱了它。

#1


71  

In the folder where you installed anaconda (for me: C:\Users\username\Anaconda3) there should be an executable called Uninstall-Anaconda.exe. That should do the trick as well.

在您安装anaconda的文件夹中(对我来说:C:\ Users \ username \ Anaconda3)应该有一个名为Uninstall-Anaconda.exe的可执行文件。这应该也可以解决问题。

#2


9  

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

由于我没有列出卸载程序 - 解决方案原来是重新安装Anaconda然后卸载它。

#3


8  

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)

在我的计算机中,开始菜单中也没有卸载程序。但它在控制面板>程序>卸载程序,并在菜单中选择Python(Anaconda64bits)。 (注意我正在使用Win10)

#4


7  

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

如果干净的重新安装/卸载不起作用,这是因为Anaconda安装仍然在注册表中列出。

  1. Start -> Run -> Regedit
  2. 开始 - >运行 - > Regedit
  3. Navigate to HKEY_CURRENT_USER -> Software -> Python
  4. 导航到HKEY_CURRENT_USER - >软件 - > Python
  5. 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.
  6. 你可能会看到2个子文件夹,Anaconda和PythonCore。展开两个并选中Install文件夹中的“Install Location”,它将在右侧列出。
  7. 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.
  8. 删除Anaconda和PythonCore文件夹中的任何一个或两者,或整个Python文件夹和注册表路径以将Python包安装到Anaconda将会消失。

#5


5  

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

Anaconda附带一个卸载程序,它应该已经安装在“开始”菜单中。

#6


1  

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

在C:\ Users \ username \ Anaconda3中使用Uninstall-Anaconda.exe是一个好方法。

#7


0  

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.

它看起来仍然留下一些文件,并留下一些注册表项。因此,您可以运行revocleaner工具来删除这些条目。重新启动并重新安装它应该现在就做。我也面临问题,通过彻底的清洁,我摆脱了它。