1.进入虚拟环境
(以环境名为py37_pytorch1.9为例)
创建虚拟环境:
conda create -n py37_pytorch1.9 python=3.7
查看已经创建的虚拟环境:
conda env list
切换 /进入环境:
conda activate py37_pytorch1.9
删除环境: conda remove -n python37_wt --all (退出该环境再进行操作)
复制环境: conda create -n (new_name) --clone (old_name)
查看包: conda list
查看显卡状态及使用情况: nvidia-smi

2.安装第三方库
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple/
pip install () -i https://pypi.tuna.tsinghua.edu.cn/simple/
3.进入指定目录启动

注:启动后不可关闭该Anaconda Prompt
