conda管理python

安装conda

查看当前系统的python环境: conda info -e

创建新环境:

conda create --name python27 python=2.7

conda create --name python36 python=3.6

环境切换:

activite python27

activite root

移除环境:

conda remove -n python27 --all

conda remove -n python36 --all

配置国内镜像

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

conda config --set show_channel_urls yes

原文地址:https://www.cnblogs.com/restful/p/6293059.html