【深度学习基础】苹果系统安装Anaconda
1.查看电脑的硬件架构
- 查看硬件架构命令:
uname -a
我的为arm64架构。
2.下载匹配的Anaconda版本
arm64架构为例子:pkg:可视化安装
sh:终端命令安装
Anaconda下载地址(清华镜像)
3.安装(sh安装包为例)
- 安装:
bash Downloads/Anaconda3-2022.05-MacOSX-arm64.sh
等待一段时候后显示:
Do you accept the license terms? [yes|no]
[no] >>>
- 输入1
yes
过一段时候后显示:
Anaconda3 will now be installed into this location:
/Users/lilaopi/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
- >>>
- 输入2
回车
过一段时间显示:
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
>>>
- 输入3
yes
显示安装成功:
**Thank you for installing Anaconda3!**
===========================================================================
Working with Python and Jupyter is a breeze in DataSpell. It is an IDE
designed for exploratory data analysis and ML. Get better data insights
with DataSpell.
DataSpell for Anaconda is available at: https://www.anaconda.com/dataspell
4.激活
- 激活命令
source ~/.zshrc
有的可能是:
source ~/.bashrc
5.验证
- 验证命令
anaconda --version
我的显示:
anaconda Command line client (version 1.9.0)