查看conda环境
conda info -e
创建新的环境
conda create -n env_name
创建指定python版本的环境
conda create -n env_name python=x.x(2.7,3.5等)
移除环境
conda remove -n env_name –all
设置采用国内镜像
1、(临时方式)命令行conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --set show_channel_urls yes
2、(永久方式)Windows下C://Users/username/.condarc,Linux/Mac下~/.condarc,没有可以创建,修改内容如下
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: yes
