根据平台获取Anaconda
==点此前往官方页面下载Anaconda==
根据官网的描述,新版Anaconda基于的环境为Python3.9
部分时候,我们还会有旧版的使用需求或者使用旧版本的Anaconda,这里提供了早期版本的Anaconda的直达页面
==点此获取早期版本的Anaconda==
同样的,Anaconda的安装包体积通常较大约500-600MB,也可根据自己的需要获取Miniconda使用
==点此获取Miniconda==
::: warning
但是需要注意的是Miniconda的linux-aarch64版本依赖glibc >=2.26,不支持CentOS 7, Ubuntu 16.04, 以及Debian 9 (“stretch”)系统的使用
:::
安装Anaconda
通常使用命令行的方式管理会更为便捷(Windows下则只有图形化管理)
将获取的文件赋予权限
chmod 777 Anaconda3-2022.05-MacOSX-arm64.sh
然后执行安装文件
./Anaconda3-2022.05-MacOSX-arm64.sh
等待加载成功后,会显示欢迎界面,按下回车键进行确认
Welcome to Anaconda3 2022.05
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
会让你同意相当长一段License,最后可以看到Do you accept the license terms? [yes|no],直接输入yes
``` bash
End User License Agreement - Anaconda Distribution
Copyright 2015-2022, Anaconda, Inc.
All rights reserved under the 3-clause BSD License:
[省略1000行]
Anaconda Distribution that relate to cryptography.
Last updated February 25, 2022
Do you accept the license terms? [yes|no]
这里会让你确认安装路径,默认安装在`User/用户名/anaconda3`下,按下`回车键`进行`确认`
``` bash
Anaconda3 will now be installed into this location:
/Users/legna/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
等待安装完成,使用命令验证Anaconda是否装好
conda -V
返回值为,代表安装成功
conda 4.13.0