Alexander Whatley Alexander Whatley - 1 year ago 135
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
Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download