create a virtual environment using conda
conda create --name env_name python=3.8
switch to your new environment
conda activate env_name
switch back using this command
conda deactivate
To see your existing environment or verify if the new environment was created
conda info --envs
To delete or remove the environment, “–all” option helps remove all packages from the environment named
conda remove --name env_name --all