Create new environment
run the following command in conda prompt:
conda create -n envName python=3.7
Here "envName" is the name of the environment you want to create.
List available conda environments
Following command lists the available environments in conda:
conda info --envs
Switch to a different environment
Opening the conda prompt opens in "base" environment. To switch to a different environment, use the following command:
activate envName
"envName" is the environment you want to switch to and use for your application execution.
Switch back to base environment
To switch back to the base environment use the following:
conda deactivate envName
Comments