anaconda prompt switch environment code example
Example 1: anaconda create environment python version
conda create -n myenv python=3.6
Example 2: how to switch env in anaconda prompt
activate (env_name)
Example 3: conda write environment.yml
conda env export > environment_droplet.yml