conda info --envs 查看當前所有的環境信息 創建一個名為ame的環境,指定Python版本是ame(不用管是任何版本,conda自動為我們尋找響應版本) conda create --name ame python=3.6 安裝好后,使用activate激活某個環境 activate ame # for Windows source activate ame # for Linux & Mac 如果想返回默認的python 2.7環境,運行 deactivate python36 # for Windows source deactivate python36 # for Linux & Mac 刪除一個已有的環境 conda remove --name python36 --all conda config --show channels 查看了我當前 添加了所有鏡像通道 conda config --remove channels <此處為通道地址>刪除對應的通道地址 換回默認源: conda config --remove-key channels 添加國內源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda config --set show_channel_urls yes