anaconda create environment python version

conda create -n myenv python=3.6

Here is what the above code is Doing:
1. Creating a new environment named myenv.
2. Installing Python 3.6 in that environment.