3

I have an M1 chip but am having issues installing Tensorflow. I've tried a number of different methods but I feel im completely stuck.

I was following this particular tutorial - https://betterdatascience.com/install-tensorflow-2-7-on-macbook-pro-m1-pro/ -

but came unstuck when installing.

This is the error:

PackagesNotFoundError: The following packages are not available from current channels:

  • tensorflow-deps

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Note I have anaconda already installed so is it a case of uninstalling it? I'm really stuck.

Thanks!

Dove
  • 31
  • 1
  • 3

3 Answers3

2

I could able to install Tensorflow on Mac Os without any issue with these following steps

python3 -m venv ~/tensorflow-metal
source ~/tensorflow-metal/bin/activate
python -m pip install -U pip
python -m pip install tensorflow-macos
python -m pip install tensorflow-metal
  • Getting this error : ERROR: Could not find a version that satisfies the requirement tensorflow-macos (from versions: none) ERROR: No matching distribution found for tensorflow-macos – amalBit Jul 29 '23 at 06:30
0

https://developer.apple.com/forums/thread/697846

adding subdir: osx-arm64 to ~\.condarc worked for me.

Fern
  • 41
  • 4
0

https://developer.apple.com/forums/thread/697846?answerId=748166022#748166022

You probably installed the x86_64 version of Anaconda. You need to install the arm64 version of Anaconda for it to find the package.

Goh Kok Han
  • 125
  • 1
  • 9