How to Install TensorFlow on Mac M1 & M2 (Easy)

Introduction

In 2020, Apple launched the game-changing M1 Chip, creating quite a buzz in the tech world. My chance to experience it came when I started my current job and received a Macbook Pro featuring the Apple M1 Pro chip. This was a significant upgrade from my old Macbook Pro (2017) with a 3.5 GHz Dual-Core Intel Core i7, and it was a relief to be free from the notorious butterfly keys.

As a Data Scientist, I frequently use libraries like TensorFlow. While installing Scikit-Learn and PyTorch was a breeze, installing TensorFlow on my new Macbook Pro M1 proved to be a head-scratcher. After hours of troubleshooting with my team, we managed to find a workaround.

However, we discovered two key challenges:

Read More