Not able to install tensorflow in Mac M1

Viewed 1182

I am trying to install tensorflow on my Mac M1 and I am getting the following error:

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow

I have python3- 3.9.7, pip- 21.3.1

2 Answers

Below is the simplest and efficient way from which we can install tensorflow in Mac M1

NOTE: Mac M1 has ARM64 arch not X86_64 so we need to be very careful while downloading packages. Anaconda is available for Mac M1 users : https://repo.anaconda.com/archive/Anaconda3-2022.05-MacOSX-arm64.sh

Following are the steps to victory:

Download Anaconda from above link create virtual env ( Optional ) pip install tensorflow-macos Thats it!

Reference video link which may be useful : https://www.youtube.com/watch?v=5DgWvU0p2bk

Related