zoukankan      html  css  js  c++  java
  • Miniconda软件安装教程(Windows)

    在这里插入图片描述

    软件简介

    Minicondaconda的精简版安装程序。 它是Anaconda的小型引导程序版本,仅包含conda,python,它们依赖的软件包以及少量其他有用的软件包,包括pip,zlib和其他一些软件包。 使用conda install command可以从Anaconda存储库中安装720+个其他conda软件包。

    下载地址

    • 官网地址下载
    https://docs.conda.io/en/latest/miniconda.html
    

    在这里插入图片描述

    • 清华镜像下载
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/
    

    在这里插入图片描述

    安装教程

    安装路径可以更改到D盘,建议勾选添加到环境变量,其它默认安装即可。

    1. 点击Next
      在这里插入图片描述
    2. 点击I Agree
      在这里插入图片描述
    3. 点击Next在这里插入图片描述
    4. 安装路径建议选择非系统盘,如D:miniconda3,点击Next
      在这里插入图片描述
    5. 勾选Add…,点击Install
      在这里插入图片描述
    6. 安装完成,点击Next
      在这里插入图片描述
    7. 安装完毕,点击Finish
      在这里插入图片描述

    换清华源

    1. 打开Anaconda Powershell Prompt,执行以下命令。执行后将在用户目录即C:Usersxxx下生成.condarc文件。
    conda config --set show_channel_urls yes
    
    1. 用文件编辑器如记事本打开.condarc文件,将其中的内容替换如下并保存
    channels:
      - defaults
    show_channel_urls: true
    channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
    default_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/pkgs/r
      - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
      - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    custom_channels:
      conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
      msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
      bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
      menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
      pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
      simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    
    1. 打开Anaconda Powershell Prompt,执行以下命令清除索引缓存,保证用的是镜像站提供的索引。
    conda clean -i
    
    1. 配置完毕,执行以下命令查看是否已经换源。
    conda config --show
    
    1. 可以看到已经更换为清华源了。
      在这里插入图片描述

    引用参考

    清华大学开源软件镜像站-Anaconda 镜像使用帮助

  • 相关阅读:
    BZOJ2821 作诗(Poetize) 【分块】
    BZOJ2724 蒲公英 【分块】
    Codeforces 17E Palisection 【Manacher】
    BZOJ2565 最长双回文串 【Manacher】
    Codeforces 25E Test 【Hash】
    CODEVS3013 单词背诵 【Hash】【MAP】
    HDU2825 Wireless Password 【AC自动机】【状压DP】
    HDU2896 病毒侵袭 【AC自动机】
    HDU3065 病毒侵袭持续中【AC自动机】
    HDU2222 Keywords Search 【AC自动机】
  • 原文地址:https://www.cnblogs.com/ghgxj/p/14219133.html
Copyright © 2011-2022 走看看