Tensorflow is not working in Mac

I have installed Tensorflow via command pip install tensorflow.

But when I am trying to import Tensorflow in Jupyter Notebook, it is not working not even throwing any error.

Note: I check it in python in terminal as well, it is behaving the same.

Replies

I would recommend following the instructions here: https://developer.apple.com/metal/tensorflow-plugin/

in particular, you should use the following command to install tensorflow:

python -m pip install tensorflow-macos

  • No, DO NOT use the instructions for installing tensorflow. Those are meant for macOS 12.0+ only. If you need instructions to follow installation instructions, check out https://www.tensorflow.org/install/pip#macos

Add a Comment

Hi @Anshul007, can you provide more details on the platform ? is it on M1 machine or x86 based machine. And also provide what steps did you follow to install the Tensorflow environment..