anaconda添加环境、镜像源、删除镜像源、退出环境、删除环境
添加镜像源conda config --add channels soumith##设置搜索时显示通道地址conda config --set show_channel_urls yes显示已经有的镜像源conda config --show删除单个镜像源conda config --remove channels 镜像源地址conda config --remove channels https
文章共266字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
添加镜像源
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
更多推荐
已为社区贡献1条内容
所有评论(0)