anaconda查看删除增加镜像源

# 查看显示原来的镜像源
(base) [jiangshan@localhost ~]$ conda config --show
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:
- ca-certificates
- certifi
- openssl
allow_conda_downgrades: False
allow_cycles: True
allow_non_channel_urls: False
allow_softlinks: False
always_copy: False
always_softlink: False
always_yes: None
anaconda_upload: None
auto_activate_base: True
auto_update_conda: True
bld_path:
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: flexible
channels:
- https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
- defaults
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
conda_build: {}
create_default_packages: []
croot: /home/jiangshan/anaconda3/conda-bld
custom_channels:
pkgs/main: https://repo.anaconda.com
pkgs/free: https://repo.anaconda.com
pkgs/r: https://repo.anaconda.com
pkgs/pro: https://repo.anaconda.com
custom_multichannels:
defaults:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/free
- https://repo.anaconda.com/pkgs/r
local:
debug: False
default_channels:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/free
- https://repo.anaconda.com/pkgs/r
default_python: 3.7
deps_modifier: not_set
disallowed_packages: []
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env})
envs_dirs:
- /home/jiangshan/anaconda3/envs
- /home/jiangshan/.conda/envs
error_upload_url: https://conda.io/conda-post/unexpected-error
extra_safety_checks: False
force: False
force_32bit: False
force_reinstall: False
force_remove: False
ignore_pinned: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
migrated_custom_channels: {}
non_admin_enabled: True
notify_outdated_conda: True
offline: False
override_channels_enabled: True
path_conflict: clobber
pinned_packages: []
pip_interop_enabled: False
pkgs_dirs:
- /home/jiangshan/anaconda3/pkgs
- /home/jiangshan/.conda/pkgs
proxy_servers: {}
prune: False
quiet: False
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
report_errors: None
rollback_enabled: True
root_prefix: /home/jiangshan/anaconda3
safety_checks: warn
sat_solver: pycosat
shortcuts: True
show_channel_urls: True
solver_ignore_timestamps: False
ssl_verify: True
subdir: linux-64
subdirs:
- linux-64
- noarch
target_prefix_override:
track_features: []
update_modifier: update_specs
use_index_cache: False
use_local: False
verbosity: 0
whitelist_channels: []

# 删除旧镜像源
(base) [jiangshan@localhost ~]$ conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/

# 添加新镜像源
(base) [jiangshan@localhost ~]$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/

# 设置搜索时显示通道地址
(base) [jiangshan@localhost ~]$ conda config --set show_channel_urls yes

原文地址:https://www.cnblogs.com/jeshy/p/10532983.html

时间: 2024-08-27 21:42:07

anaconda查看删除增加镜像源的相关文章

CocoaPods - 更改镜像源

听说CocoaPods的国内镜像源改了,之前是淘宝的,现在改成了阿里的链接. 在终端中: 1. 查看当前的镜像源 $ gem sources 显示: *** CURRENT SOURCES *** http://ruby.taobao.org 2. 删除淘宝的镜像源 $ gem sources -r https://ruby.taobao.org 显示: https://ruby.taobao.org removed from sources 3. 添加阿里的镜像源 $ gem sources

Anaconda 镜像源操作(查看配置删除)

Anaconda查看镜像配置 conda config --show 将会显示conda的配置信息,找到channel, 对应的就是我们的镜像配置 channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ - defaults 添加清华大学的镜像 conda config --add channels

mark LINUX_6.8 python_2.6.6 setup版本升级 python 2.7.9 安装 pip 临时使用国内镜像源库 指定模块版本 删除指定模块

简单但却又经常需要使用  网上  贴子也很多  也经常用  所以 做个mark 吧: 1首先下载python2.7.9 源tar包 源码安装 可利用linux自带下载工具wget下载,如下所示:    wget http://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz 下载完成后到下载目录下,解压   tar -zxvf Python-2.7.9.tgz 进入解压缩后的文件夹 cd ./Python-2.7.9 在编译前先在/usr/loca

nrm -- npm镜像源管理

nrm nrm(npm registry manager )是npm的镜像源管理工具,有时候国外资源太慢,使用这个就可以快速地在 npm 源间切换 安装nrm 在命令行执行命令,npm install -g nrm,全局安装nrm. 使用 执行命令nrm ls查看可选的源. nrm ls *npm ---- https://registry.npmjs.org/ cnpm --- http://r.cnpmjs.org/ taobao - http://registry.npm.taobao.o

Miniconda3清华镜像源不能用了

1.添加清华镜像源https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 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 sh

各种镜像源的更换

各种镜像源的更换 树莓派 本次采用的是一块树莓派3B-PLUS的板子 树莓派的版本信息确定 查看树莓派的版本信息的几种方式: uname -a Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian G

Ubuntu18.04下修改docker镜像源

在国内访问国外的Docker镜像源通常都是非常慢的,特别是最近GFW升级后,就变得更加慢了,因为要使用Docker中的镜像,这个时候最好就是将镜像指向国内的资源. 国内亲测可用的几个镜像源: Docker 官方中国区:https://registry.docker-cn.com    网易:http://hub-mirror.c.163.com    中国科技大学:https://docker.mirrors.ustc.edu.cn    阿里云:https://y0qd3iq.mirror.a

树莓派更新镜像源于镜像源推荐

http://mirrors.cqu.edu.cn/wiki/index.php?title=Raspbian http://mirrors.lifetoy.org/ deb http://mirrors.zju.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi deb-src http://mirrors.zju.edu.cn/raspbian/raspbian/ jessie main contrib non-free rp

docker学习笔记5:利用commit命令创建镜像 和 删除本地镜像

一.概述 创建镜像有两种方法,一是用commit命令,二是用dockerfile方法(这个更常用,在下面文章介绍).本章介绍commit方法. 在介绍commit命令前,我们先回顾下对代码的版本控制,当修改代码后,我们会commit变更到版本服务器上. 对于容器类似的概念,当创建容器后,如果后面对容器做了修改,就可以利用commit命令将修改提交为一个新的镜像. 二.例子说明 下面我们通过具体的例子来说明: 1.创建新容器 docker run --name newcontent -i -t u