There is no need to remove the Python system. Anaconda is sitting next to him. When it is installed, it adds a line to your .bashrc , which first adds the Anaconda directory to your PATH . This means that whenever you type python or ipython in the terminal, it will use Anaconda Python (and Anaconda Python will automatically use all Anaconda Python libraries, such as numpy and scipy, not the system ones). You must leave the Python system alone as some system tools use it. Important points:
- Whatever Python is on your
PATH , this is what is used when you use Python in the terminal. If you create a conda environment with conda and use source activate , it first places this environment in PATH . - Each Python (Anaconda or system) will use its own libraries and not look at others (this is not true if you set the
PYTHONPATH environment variable, but I recommend that you do not).
source share