Mac安装Anaconda包和创建虚拟环境

1、下载Anaconda包

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D

一定要按日期的降序排列:
file

例如下载地址为:
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2024.06-1-MacOSX-x86_64.pkg

双击打开:
file

file

file

file

file

file

file

file

这一步时间会很长,多等一下:

file

file

file

验证

启动终端

file

file

新建虚拟环境

conda create -n mypandas python=3.10

file

激活环境

file

安装包

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas

file

引入包验证

file

Leave a Comment