Conda 安装

2023-03-11 · 166 字 · 约 1 分钟

# 1. Windows 安装 Anaconda

  1. 访问 Anaconda 产品网站 https://www.anaconda.com/products/distribution
  2. 下载并运行安装包
  3. 根据安装向导完成安装程序

# 2. 云服务器安装 Anaconda (以 Ubuntu 20.04 为例)

  1. 访问 Anaconda 产品网站 https://www.anaconda.com/products/distribution

  2. 复制适合的 Anaconda Installers 安装包下载链接https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh Anaconda Installers

  3. 在服务器中输入以下命令下载 Anaconda Individual Edition 安装包

    wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh
    
  4. 校验文件完整性

    1. 在服务器中输入以下命令校验文件完整性

      sha256sum /tmp/Anaconda3-2022.10-Linux-x86_64.sh
      
    2. Anaconda 安装包哈希值列表: https://docs.anaconda.com/anaconda/install/hashes/lin-3-64/

  5. 输入以下命令运行安装脚本

    bash /tmp/Anaconda3-2022.10-Linux-x86_64.sh
    
  6. 根据安装向导,完成安装操作(以全部选择 yes 为例)

  7. 运行 source ~/.bashrc 重新加载环境变量

# 2.1. 故障排除

https://docs.anaconda.com/anaconda/user-guide/troubleshooting/