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

 

posted @ 2017-01-17 14:45  阿愿的笔记本  阅读(253)  评论(0编辑  收藏  举报