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.
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,
python2
This will execute Python 2.
python3
This will execute Python 3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With