conda activate 激活新环境 conda cheatsheet

东郭承业
2023-12-01

conda usage

  • 显示环境信息
  • conda info
  • 创建新环境
    conda create -n proj_name
    此时python等于base的版本
  • 指定python版本创建
    conda create -n proj_name_py3 python=3.7
    或者python=2.7
    conda create -n proj_name_py2 python=2.7
    克隆已有环境
    conda create --name myclone --clone myenv
    删除环境
    conda remove -n proj_name_py2 --all
    查询所有创建的环境
    conda env list
    创建和base相同的环境
    conda create -name pytorch python=3.6 anaconda

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#cloning-an-environment
conda cheatsheet
https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf

 类似资料: