1.查看channel

conda config --show#显示出所有conda的config信息
conda config --show channels#只显示channels的信息

2.删除channel

conda config –remove channels
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

3.增加channel

conda config ‐‐add channels 
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

4.查看channel优先级

conda config --get channels

5.查看.condarc文件位置

conda info

6.安装时显示安装包来源

conda config --set show_channel_urls yes

7.安装时确认[y/n]

conda config --set always_yes false #安装确认中,不默认yes,自己决定

8.查看conda版本

conda -V/--version

9.显示所有虚拟环境

conda info -e
conda info --envs

10.新建虚拟环境

conda create --name yourname python=3.6

11.删除环境

conda remove -n yourname --all

12.复制环境

conda create -n newpy36 --clone py36

13.指定网址安装包

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python

14.删除包

conda remove package_name

15.更新包

conda update package_name
conda update --all#更新环境中的所有包

16.anaconda安装教程

参考链接

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐