I can't install tensorflow on my mac m1

Hey I can't install Tensorflow on my M1 Mac here is attached some screenshot.

Replies

Hi @rockySamrat,

Have you followed the instructions at https://developer.apple.com/metal/tensorflow-plugin/ when setting up the environment? The current recommendation is to use miniforge3 for creating the environment and installing the dependencies to make sure correct versions of all needed packages are available.

Hi Apple Engineer,

I believe I'm having the same issue. I'm following the instructions from your link, but on step 2: install base TensorFlow I'm getting an error "ERROR: Failed building wheel for h5py"and I believe this might be causing me issues further down the line?

  • Hi Mamos,

    Try conda install -c apple tensorflow-deps --force-reinstall, h5py is a part of tensorflow-deps packages

Add a Comment

I followed the direction in that link mentioned above. It said it is all install, but VS can't find tensorflow. I have tried several time, but no go.