2025-10-28 09:15:29 高清世界杯直播

添加镜像源

conda config --add channels soumith

##设置搜索时显示通道地址

conda config --set show_channel_urls yes

显示已经有的镜像源

conda config --show

删除单个镜像源

conda config --remove channels 镜像源地址

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/

删除全部镜像源

conda config --remove-key channels

查看已经创建的环境

conda info --env

创建环境

conda create -n 环境名 python=X.X

激活环境

source activate 环境

查看环境中含有的包

conda list

退出环境

source deactivate 环境

删除环境

conda remove -n 环境 --all