conda view environments code example
Example 1: list conda environments
conda info --envs
conda env list
Example 2: conda create environment without packages
conda create --name myenv python=3.8 --no-default-packages
Example 3: conda create env from yml
conda env create -f environment.yml
Example 4: conda create environment based on requirements.txt
pip install -r requirements.txt
conda create --name <env_name> --file requirements.txt
Example 5: conda env
conda create -n myenv python=3.6
Example 6: conda list environments
conda info --envs