creating environment in anaconda code example

Example 1: anaconda create environment python version

conda create -n myenv python=3.6

Example 2: how to make a conda environment

conda create --name myenv
#to activate environment:
conda activate myenv

Example 3: conda write environment.yml

conda env export > environment_droplet.yml

Example 4: create an environment in conda

conda create --name myenv

Example 5: how to see all the environments in Conda

conda env list

Example 6: how to create a virtual environment in anaconda

conda create -n env_name python=x.x anaconda