如何从 windows 中完全删除 anaconda?
How to remove anaconda from windows completely?
我不久前安装了 Anaconda,但最近决定卸载它并只安装基本的 python 2.7。
我删除了 Anaconda 并删除了所有目录并安装了 python 2.7.
但是当我为 Windows 安装 PyGTK 时,它说它将安装到 c:/users/.../Anaconda directory
- 这甚至不存在。我想把它安装到 c:/python-2.7
目录。为什么它认为 Anaconda 仍然安装?我该如何改变它?
Anaconda自带卸载程序,应该已经安装在开始菜单中了。
因为我没有列出卸载程序 - 解决方案原来是重新安装 Anaconda,然后将其卸载。
我电脑的“开始”菜单中也没有卸载程序。但它在控制面板 > 程序 > 卸载程序中起作用,并在菜单中选择 Python(Anaconda64bits)。
(注意我用的是Win10)
在您安装 Anaconda 的文件夹中(示例:C:\Users\username\Anaconda3
)应该有一个名为 Uninstall-Anaconda.exe
的可执行文件。双击此文件开始卸载 Anaconda。
这也应该可以解决问题。
如果干净的 re-install/uninstall 不起作用,这是因为 Anaconda 安装仍在注册表中列出。
- 开始 -> 运行 -> 注册表编辑器
- 导航至 HKEY_CURRENT_USER -> 软件 -> Python
- 您可能会看到 2 个子文件夹,Anaconda 和 PythonCore。展开两者并检查 Install 文件夹中的 "Install Location",它会列在右侧。
- 删除 Anaconda 和 PythonCore 文件夹中的一个或两个,或者整个 Python 文件夹和用于将 Python 软件包安装到 Anaconda 的注册表路径将会消失。
在C:\Users\username\Anaconda3
中使用Uninstall-Anaconda.exe
是个好方法。
看起来还剩下一些文件,还有一些注册表项。因此,您也可以 运行 revocleaner 工具来删除这些条目。重新启动并再次安装它现在应该这样做。
我也遇到了问题,通过彻底清洁,我摆脱了它。
我认为这是官方的解决方案:https://docs.anaconda.com/anaconda/install/uninstall/
[不幸的是,在找到官方文章之前,我做了简单的删除(Uninstall-Anaconda.exe in C:\Users\username\Anaconda3 following the answers in C:\Users\username\Anaconda3),所以我必须摆脱一切手动。]
但对于你们其他人来说,正式的完全删除可能很有趣,所以我把它复制到这里:
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.
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/ ]
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.
转到 C:\Users\username\Anaconda3
并搜索 Uninstall-Anaconda3.exe
,这将删除 Anaconda 的所有组件。
在我的机器 (Win10) 上,卸载程序位于 C:\ProgramData\Anaconda3\Uninstall-Anaconda3.exe
。
方法一:
要卸载 Anaconda3,请转到 Anaconda3 文件夹,在那里您将能够找到一个名为 Uninstall-Anaconda3.exe 的可执行文件,双击它。这应该卸载您的应用程序。
anaconda command prompt、jupyter notebook、spyder等快捷方式有时存在,所以也删除这些文件。
方法二(Windows8):
转到控制面板->程序->卸载程序,然后在菜单中选择 select Anaconda3(Python3.1. 64-bit)。
- 从控制面板卸载 Anaconda
- 从Users/user
中删除相关文件夹、缓存数据和配置
- 从隐藏列表的 AppData 文件夹中删除
- 要删除开始菜单条目 -> 转到 C:/ProgramsData/Microsoft/Windows/ 并删除 Anaconda 文件夹或在开始菜单中搜索 anaconda 并右键单击 anaconda 提示 -> 在文件夹选项中显示。
这将几乎清理您系统上的每个 anaconda 文件。
对于windows-
- 在控制面板中,选择添加或删除程序或卸载程序,然后选择 select Python 3.6 (Anaconda) 或您的 Python 版本。
- 使用 Windows 资源管理器删除 envs 和 pkgs 文件夹,然后再 运行 安装根目录中的卸载。
C:\ 驱动器中有一个启动项文件夹。在那里删除你的 anaconda3 文件夹,很简单,你就可以开始了。就我而言,我在这里找到了“C:\Users\pravu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs”
我不久前安装了 Anaconda,但最近决定卸载它并只安装基本的 python 2.7。
我删除了 Anaconda 并删除了所有目录并安装了 python 2.7.
但是当我为 Windows 安装 PyGTK 时,它说它将安装到 c:/users/.../Anaconda directory
- 这甚至不存在。我想把它安装到 c:/python-2.7
目录。为什么它认为 Anaconda 仍然安装?我该如何改变它?
Anaconda自带卸载程序,应该已经安装在开始菜单中了。
因为我没有列出卸载程序 - 解决方案原来是重新安装 Anaconda,然后将其卸载。
我电脑的“开始”菜单中也没有卸载程序。但它在控制面板 > 程序 > 卸载程序中起作用,并在菜单中选择 Python(Anaconda64bits)。 (注意我用的是Win10)
在您安装 Anaconda 的文件夹中(示例:C:\Users\username\Anaconda3
)应该有一个名为 Uninstall-Anaconda.exe
的可执行文件。双击此文件开始卸载 Anaconda。
这也应该可以解决问题。
如果干净的 re-install/uninstall 不起作用,这是因为 Anaconda 安装仍在注册表中列出。
- 开始 -> 运行 -> 注册表编辑器
- 导航至 HKEY_CURRENT_USER -> 软件 -> Python
- 您可能会看到 2 个子文件夹,Anaconda 和 PythonCore。展开两者并检查 Install 文件夹中的 "Install Location",它会列在右侧。
- 删除 Anaconda 和 PythonCore 文件夹中的一个或两个,或者整个 Python 文件夹和用于将 Python 软件包安装到 Anaconda 的注册表路径将会消失。
在C:\Users\username\Anaconda3
中使用Uninstall-Anaconda.exe
是个好方法。
看起来还剩下一些文件,还有一些注册表项。因此,您也可以 运行 revocleaner 工具来删除这些条目。重新启动并再次安装它现在应该这样做。 我也遇到了问题,通过彻底清洁,我摆脱了它。
我认为这是官方的解决方案:https://docs.anaconda.com/anaconda/install/uninstall/
[不幸的是,在找到官方文章之前,我做了简单的删除(Uninstall-Anaconda.exe in C:\Users\username\Anaconda3 following the answers in C:\Users\username\Anaconda3),所以我必须摆脱一切手动。]
但对于你们其他人来说,正式的完全删除可能很有趣,所以我把它复制到这里:
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.
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/ ]
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.
转到 C:\Users\username\Anaconda3
并搜索 Uninstall-Anaconda3.exe
,这将删除 Anaconda 的所有组件。
在我的机器 (Win10) 上,卸载程序位于 C:\ProgramData\Anaconda3\Uninstall-Anaconda3.exe
。
方法一: 要卸载 Anaconda3,请转到 Anaconda3 文件夹,在那里您将能够找到一个名为 Uninstall-Anaconda3.exe 的可执行文件,双击它。这应该卸载您的应用程序。 anaconda command prompt、jupyter notebook、spyder等快捷方式有时存在,所以也删除这些文件。
方法二(Windows8): 转到控制面板->程序->卸载程序,然后在菜单中选择 select Anaconda3(Python3.1. 64-bit)。
- 从控制面板卸载 Anaconda
- 从Users/user 中删除相关文件夹、缓存数据和配置
- 从隐藏列表的 AppData 文件夹中删除
- 要删除开始菜单条目 -> 转到 C:/ProgramsData/Microsoft/Windows/ 并删除 Anaconda 文件夹或在开始菜单中搜索 anaconda 并右键单击 anaconda 提示 -> 在文件夹选项中显示。 这将几乎清理您系统上的每个 anaconda 文件。
对于windows-
- 在控制面板中,选择添加或删除程序或卸载程序,然后选择 select Python 3.6 (Anaconda) 或您的 Python 版本。
- 使用 Windows 资源管理器删除 envs 和 pkgs 文件夹,然后再 运行 安装根目录中的卸载。
C:\ 驱动器中有一个启动项文件夹。在那里删除你的 anaconda3 文件夹,很简单,你就可以开始了。就我而言,我在这里找到了“C:\Users\pravu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs”