anaconda check packages in the virtual env code example
Example 1: list conda environments
conda info --envs
conda env list
Example 2: activating anaconda environment
conda activate myenv
conda info --envs
conda env list
conda activate myenv