how to set conda environment as default code example Example 1: conda env conda create -n myenv python=3.6 Example 2: new env in conda conda create --name myenv