- 安装miniforge3
下载之后执行 bash ./Miniforge3-MacOSX-arm64.sh # 这里填自己的路径
- 创建venv开发环境
conda create -n tensorflow_m1 python=3.9 conda activate tesnorflow_m1 # 如果activate失败则执行如下命令挂载环境变量 source activate
- 安装tensorflow
conda install -c apple tensorflow-deps python -m pip install tensorflow-macos -i https://mirrors.aliyun.com/pypi/simple/ python -m pip install tensorflow-metal -i https://mirrors.aliyun.com/pypi/simple/ pip install tensorflow-datasets -i https://mirrors.aliyun.com/pypi/simple/ conda install -y pandas matplotlib scikit-learn conda install jupyter notebook



