检查conda 是否安装以及在你系统的path中
1
conda -V
升级 conda
1
conda update conda
创建一个虚拟环境
1
conda create -n yourenvname python=x.x anaconda
or
1
conda create --name yourenvname python=x.x anaconda
激活你所创建的虚拟环境
1
source activate yourenvname (in linux)
or
1
conda activate yourenvname (in windows)
在你创建的虚拟环境中安装 python package
1
conda install -n yourenvname [package]
退出你当前的虚拟环境
1
source deactivate yourenvname
删除一个虚拟环境
1
conda remove -n yourenvname --all
Conda常用命令小结
坚持原创分享,您的支持是我继续创作的动力!
- Post link: https://asiagood.github.io/archive/2018-03-12/conda用法小结/
- Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.