conda env list
比如我要卸载testpytoorch虚拟环境
conda remove -n testpytorch --all
选y
查看虚拟环境
删除成功
注:如下图: 如果要删除 testpytorch 虚拟环境,确定在非testpytorch 环境里操作。