博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
为Linux服务器conda添加清华镜像
阅读量:4127 次
发布时间:2019-05-25

本文共 966 字,大约阅读时间需要 3 分钟。

在服务器中使用conda下载Pytorch的时候,速度非常慢,所以想添加清华镜像加快下载速度,但是网上一般的修改配置文件的方法,需要获取sudo权限,在服务器中又没有该权限,只能一项项添加镜像的channel了

添加前,查看conda信息

conda info

添加方式

#channel_aliasconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda#default_channelsconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/mainconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/freeconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/rconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/proconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2#custom_channelsconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud#Conda Forgeconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/#pytorchconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

添加完成之后再次查看信息

添加完成!

转载地址:http://lrrpi.baihongyu.com/

你可能感兴趣的文章
vue项目打包后无法运行报错空白页面
查看>>
Vue 解决部署到服务器后或者build之后Element UI图标不显示问题(404错误)
查看>>
element-ui全局自定义主题
查看>>
facebook库runtime.js
查看>>
vue2.* 中 使用socket.io
查看>>
openlayers安装引用
查看>>
js报错显示subString/subStr is not a function
查看>>
高德地图js API实现鼠标悬浮于点标记时弹出信息窗体显示详情,点击点标记放大地图操作
查看>>
初始化VUE项目报错
查看>>
vue项目使用安装sass
查看>>
HTTP和HttpServletRequest 要点
查看>>
在osg场景中使用GLSL语言——一个例子
查看>>
关于无线PCB中 中50欧姆的特性阻抗的注意事项
查看>>
Spring的单例模式源码小窥
查看>>
后台服务的变慢排查思路(轻量级应用服务器中测试)
查看>>
MySQL中InnoDB事务的默认隔离级别测试
查看>>
微服务的注册与发现
查看>>
bash: service: command not found
查看>>
linux Crontab 使用 --定时任务
查看>>
shell编程----目录操作(文件夹)
查看>>