anacond清华源 mac_Anaconda更换清华源、中科大源
Anaconda是一个用于科学计算的Python发行版,支持Linux,Mac,Windows,包含了众多流行的科学计算、数据分析的Python 包。Anaconda安装好之后,默认的镜像是官方的。由于官网的镜像在境外,访问太慢或者不能访问,为了能够加快访问的速度,建议更改为国内镜像源,一般情况下,清华源更快些。下面介绍在Windows和Linux下的换源操作。
1、安装清华源和中科大源
在Windows系统下可以按如下操作:
清华源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --set show_channel_urls yes
清华源还提供了 Anaconda 仓库与第三方源(conda-forge、msys2、pytorch等)的镜像。如果需要pytorch, 还需要添加pytorch的镜像:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
中科大源
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
conda config --set show_channel_urls yes
2、管理安装源
查看已安装源
conda config --show-sources
删除安装源
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
换回默认源
conda config --remove-key channels
3、Linux下换源
将以上配置文件写在~/.condarc中,例如配置清华源:
vim ~/.condarc
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
ssl_verify: true
参考
1.https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
2.http://mirrors.ustc.edu.cn/help/anaconda.html
anacond清华源 mac_Anaconda更换清华源、中科大源相关推荐
- linux下中科大软件源,CentOS 7使用的中科大源
中科大的源质量速度都不错,推荐使用.这里列出CentOS 7的Base和epel的源. 进入/etc/yum.repos.d/中,将原本的几个repo文件备份,之后新建三个repo文件,内容如下: 1 ...
- kali 更新源 更新软件包 更新系统 中科大源 官方源
vim /etc/apt/sources.list 1.添加源 #kali官方源 deb http://http.kali.org/kali kali-rolling main non-free c ...
- conda清华源即将关闭,用中科大源吧!设置方法
conda镜像源 linux or mac conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ co ...
- 更换Homebrew为中科大源
官网:https://brew.sh/index_zh-cn /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com ...
- Ubuntu-20.04 LTS 更换国内163源、阿里源、清华源、中科大源
Ubuntu 20.04 是 Ubuntu 的第 8 个 LTS 版本,其重大更新和改进将在 2030 年前终止,计划于2020年 4 月 23 日发布. 国内有很多Ubuntu的镜像源,有阿里的.网 ...
- ubuntu20.04 LTS 更换国内163源、阿里源、清华源、中科大源
Ubuntu 20.04 是 Ubuntu 的第 8 个 LTS 版本,其重大更新和改进将在 2030 年前终止,计划于2020年 4 月 23 日发布. 国内有很多Ubuntu的镜像源,有阿里的.网 ...
- 20 ubuntu 中科大源_ubuntu20.04 LTS 更换国内163源、阿里源、清华源、中科大源
Ubuntu 20.04 是 Ubuntu 的第 8 个 LTS 版本,其重大更新和改进将在 2030 年前终止,计划于2020年 4 月 23 日发布. 国内有很多Ubuntu的镜像源,有阿里的.网 ...
- Anaconda更换清华源、中科大源
Anaconda是一个用于科学计算的Python发行版,支持Linux,Mac,Windows,包含了众多流行的科学计算.数据分析的Python 包.Anaconda安装好之后,默认的镜像是官方的.由 ...
- Ubuntu 20.04换国内源 清华源 阿里源 中科大源 163源
Ubuntu 20.04 是 Ubuntu 的第 8 个 LTS 版本,其重大更新和改进将在 2030 年前终止,计划于2020年 4 月 23 日发布. 国内有很多Ubuntu的镜像源,包括阿里的. ...
最新文章
- 3.vector实现字符串类
- koding.com 使用putty
- 北航成教计算机课程,成教生:从问题学生到北航计算机本科生
- datatable筛选条件_C#利用DataView的RowFilter对DataTable进行查询筛选
- LeetCode 637. Average of Levels in Binary Tree
- windows 查看网络中断事件_等保测评2.0:Windows安全审计
- c语言怎么把字符型数字变成整型数字,怎么把数字变成字符型
- 《Head First设计模式》 读书笔记03 装饰对象
- ccs 移植创建新工程_CCS-6-新建TMS320F28335工程(可移植)).pdf
- html中input里的time怎么用,HTML Input Time stepDown()用法及代码示例
- OSPF邻接关系建立过程
- verilog教程——initial语句和always语句
- eclipse php 教程,Eclipse PHPEclipse配置方法文字教程
- Eureka源码深度刨析-(5)EurekaServer处理服务发现
- sgx芯片服务器,英特尔SGX概述:SGX内部实现分析研究(part1)
- php测试页面打开速度,测试网站访问速度的五个方法
- Oracle AutoVue 安装与配置说明
- 排障集锦:九九八十一难之第十八难!-----System has not been booted with systemd as init system (PID 1). Can‘t operat
- 极简工作法则- 泰普勒人生
- 互联网直播点播平台EasyDSS登录页广告位图片上传接口报错问题分析
热门文章
- 2017--就业分享之IT校招现状和面试经历
- office病毒分析从0到1
- Java之for循环打印倒直角三角形
- 数据结构七大排序算法图解——选择排序动图演示
- 如何在elementUi动态表格table中翻译字典值。vue通用方案
- 【MZ】CF 356A - 356D #207 (Div. 1)
- CSS字体样式属性(font-size、font-family、Unicode、font-weight、font-style、font)
- [安卓刷机实战]小米/红米手机刷机降系统图文教程-解锁小米手机-K30 5G版[开箱可用][解锁+刷机全步骤教程]
- 可能与不可能的边界 P/NP问题趣史
- 使用OpenCV透视变换技术实现坐标变换实践