Anaconda:如何彻底删除Python 3.4?

Anaconda: How to completely delete Python 3.4?

我在 Mac 上安装了 Python 2.7 和 3.4(使用来自 http://continuum.io/downloads 的图形安装程序)。我只需要使用2.7。我怎样才能完全删除3.4?谢谢

据此Anaconda FAQ:

How do I uninstall Anaconda? Version 1.3.1 and later

Anaconda can be uninstalled by removing the root directory (~/anaconda by default; use the conda info command to confirm the location of the root directory). Version 1.4 and newer

OSX and Unix uninstalls remain the same as in previous versions.

On Windows, click the Start button, and navigate to the Control Panel and select Uninstall a program, then find Anaconda in the list of programs


因此您必须查看 $HOME/anaconda 并从那里删除适当的 Python 安装。

删除anaconda目录即可。您可以通过启动Python 3 和运行

来查看Python 3 安装到什么目录
import sys
print(sys.prefix)