美文网首页
conda的安装与使用 2021-01-19

conda的安装与使用 2021-01-19

作者: candel | 来源:发表于2021-01-20 09:07 被阅读0次

    一、软件下载:
    使用清华镜像下载,速度会很快。
    清华镜像:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda
    选择好对应版本。

    wget -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh
    

    二、软件安装

    sh Miniconda3-py39_4.9.2-Linux-x86_64.sh
    

    三、修改~/.condarc文件
    清华的源还是报错,使用北师大的源可以。
    将 ~/.condarc 修改为:

    channels:
      - https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
      - https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
      - https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
      - https://mirrors.bfsu.edu.cn/anaconda/cloud/bioconda/
    show_channel_urls: true
    channel_priority: flexible
    

    相关文章

      网友评论

          本文标题:conda的安装与使用 2021-01-19

          本文链接:https://www.haomeiwen.com/subject/iflqzktx.html