【conda】容易遗忘的命令使用总结 2026/8/3 12:23:07 拓冰建站 浏览量 1. 在空conda虚拟环境中安装python 退出到base环境 conda activate base 执行安装命令 # conda install -n 空环境名 python=版本名 conda install -n test python=3.10 2. 无需确认直接创建环境 在末尾加上-y conda create -n test python=3.8 -y 3. 重命名conda环境 conda rename -n 旧环境名 新环境名
1. 在空conda虚拟环境中安装python 退出到base环境 conda activate base 执行安装命令 # conda install -n 空环境名 python=版本名 conda install -n test python=3.10 2. 无需确认直接创建环境 在末尾加上-y conda create -n test python=3.8 -y 3. 重命名conda环境 conda rename -n 旧环境名 新环境名