Categories
Python

Conda Python Environments

1. Creating Environments

conda create --name py2 python=2.7
conda create --name py3 python=3.7

2. Switch to Python 2

source activate py2

Deactivate Conda Python 2

source deactivate

3. Switch to Python 3

source activate py3

Deactivate Conda Python 3

source deactivate