Alexander Whatley Alexander Whatley - 11 months ago 74
Python Question

Switching between Anaconda and Anaconda3

Is there an easy way to switch between using Anaconda (Python 2) and Anaconda3 (Python 3) from the command line? I am on Windows 10.

abe abe

In CMD as long as both Python 2 and Python 3 are installed through Anaconda:

conda create -n python2 python=2.7 anaconda
conda create -n python3 python=3.4 anaconda
conda create -n python3 python=3.5 anaconda

If you have 3.4, run line 2. If you have 3.5, run like 3. This will create 2 environment variables,


This will execute Python 2.


This will execute Python 3.