Anaconda指令
功能 | 指令 |
查看版本 | conda --version |
转换盘符 | cd D:\xxxx\xxxx\envs |
创建虚拟环境 | conda create -n pytorch python=3.8 |
删除虚拟环境 | conda remove -n pytorch --all |
激活虚拟环境 | conda activate pytorch |
返回base环境 | activate root |
查看已有环境 | conda env list |
conda info --env | |
克隆环境 | conda create --name new_env --clone old_env |
添加已有环境 | conda config --append envs_dirs D:\xxxx\xxxx\envs |
分享环境配置 | source activa |