conda create python code example
Example 1: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 2: conda write environment.yml
conda env export > environment_droplet.yml
conda create -n yourenvname python=x.x anaconda
conda env export > environment_droplet.yml