Mac m1安装tensorflow

在Mac m1 上安装tensorflow

创建虚拟环境

conda create --name venvname python=3.8

进入虚拟环境

source activate venvname

从GitHub上安装为m1优化的tensorflow

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/apple/tensorflow_macos/master/scripts/download_and_install.sh)"

完成✅

你可能感兴趣的:(tensorflow,macbook)