• 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 镜像使用帮助

  • 相关阅读:
    746. 使用最小花费爬楼梯(动态规划题)
    91.解码方法(动态规划)
    198/213 打家劫舍(动态规划)
    5. 最长回文子串 (从今天开始刷动态规划50题)
    POJ 2142
    HDU 4686
    HDU 4767
    HDU 1757
    POJ 3613
    HDU 2157
  • 原文地址:https://www.cnblogs.com/ghgxj/p/14219133.html
Copyright © 2020-2023  润新知