AI开发工具-AnaConda安装指南

AI开发工具-AnaConda安装指南

安装AnaConda,进入AnaConda的官网https://www.anaconda.com/
下载AnaConda安装包,点击Download下载并进行开发。

image

下载完成后双击打开安装包,点击Next进入下一步。
image

同意许可说明,选择I Agree。
image

选择All Users,并Next。选择All Users防止后续安装环境出现权限不足的问题。

image

点击Browse选择安装位置,我这里选择默认位置,点击Next
image

选择选项2,安装在其他项目中,不安装进系统中,防止后续出现问题。点击Install。
image

等待安装完成。
image
image

安装完成后,点击Next
image

点击Next
image

取消勾选,点击Finish。
image

配置环境变量,打开高级系统设置,点击环境变量
image

选择系统环境变量中的Path,点击编辑。
image

根据安装目录的路径,在Path环境变量中增加以下三条路径,点击确定。
image

点击确定
image

点击确定
image

测试conda环境,按下win+R,输入cmd 回车,进入命令行模式。如下所示,测试conda环境配置。

C:\Users\100askTeam>conda --version
conda 22.9.0

C:\Users\100askTeam>conda info

     active environment : None
       user config file : C:\Users\100askTeam\.condarc
 populated config files : C:\Users\100askTeam\.condarc
          conda version : 22.9.0
    conda-build version : 3.22.0
         python version : 3.9.13.final.0
       virtual packages : __cuda=12.0=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (read only)
      conda av data dir : C:\ProgramData\Anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\100askTeam\.conda\pkgs
                          C:\Users\100askTeam\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda3\envs
                          C:\Users\100askTeam\.conda\envs
                          C:\ProgramData\Anaconda3\envs
                          C:\Users\100askTeam\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.9.13 Windows/10 Windows/10.0.19044
          administrator : False
             netrc file : None
           offline mode : False


C:\Users\100askTeam>activate

(base) C:\Users\100askTeam>python
Python 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()