zoukankan      html  css  js  c++  java
  • linux使用清华源安装工具,切换清华源

    查看镜像源

    conda config --show

    1.添加清华镜像源

    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 show_channel_urls yes
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

    2.使用时,安装语句不能加 -c pytorch

    conda install pytorch torchvision cudatoolkit=10.2

    3.删除镜像源

    conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

    参考:https://blog.csdn.net/weixin_43869268/article/details/107853405

  • 相关阅读:
    中间件
    进程的概念
    操作系统必会
    粘包现象及处理方式
    双下方法
    异常处理
    网络编程基础
    osi七层协议
    面向对象初识
    Django 中间件
  • 原文地址:https://www.cnblogs.com/StarZhai/p/15478057.html
Copyright © 2011-2022 走看看