conda update -n base conda //update最新版本的conda
conda create -n xxxx python=3.5 //创建python3.5的xxxx虚拟环境
conda activate xxxx //开启xxxx环境
conda deactivate //关闭环境
conda env list //显示所有的虚拟环境
conda update conda
conda update anaconda
conda update anaconda-navigator //update最新版本的anaconda-navigator
conda install --channel https://conda.anaconda.org/anaconda tensorflow=1.8.0删除镜像信息,恢复到默认
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
新建jupyter kernel
在环境内执行下面的命令,XX是jupyter里面显示的名字
python -m ipykernel install --name XX 删除则是: jupyter kernelspec remove 环境名称
澹版槑:
鏈枃閲囩敤
BY-NC-SA
鍗忚杩涜鎺堟潈锛屽鏃犳敞鏄庡潎涓哄師鍒涳紝杞浇璇锋敞鏄庤浆鑷?
走着的小站
鏈枃鍦板潃: conda的使用和常用命令
鏈枃鍦板潃: conda的使用和常用命令