Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Tensorflow in MacOs M1

I am struggling to install tensorflow on MacOS Monterey 12.5.1 with M1 Chip

pip3 install tensorflow-macos

pip3 install tensorflow-metal

I keep getting this error: ERROR: Could not find a version that satisfies the requirement python (from versions: none)

I tried venv, I tried miniconda, anaconda, still same issue.

How can I install tensorflow in M1 MacOS ?

like image 594
SimbaNinja Avatar asked Nov 22 '25 15:11

SimbaNinja


1 Answers

brew install [email protected]
/opt/homebrew/Cellar/[email protected]/3.8.16/bin/python3.8  -m venv ~/TF
source ~/TF/bin/activate
pip install --upgrade pip
pip install tensorflow-macos
like image 57
Gregor von Laszewski Avatar answered Nov 25 '25 11:11

Gregor von Laszewski