conda check environment libraries code example Example 1: conda delete environment conda remove --name myenv --all Example 2: conda deactivate conda deactivate