Were you able to solve this ?
My suggestion is for you to go through this link : https://developer.apple.com/metal/tensorflow-plugin/ and understand the instructions written under each command. It clearly mentions for x86 (intel) based Macs that "Python 3.8 is required" and for arm64 Apple Silicon Macs, "both Python 3.8 and 3.9 are supported".
So, please, try using Python 3.8 by creating a new environment and see if you get the same error again or not.
Also, I've noticed that you're accessing the console via some sort of IDE (maybe VSCode?) but can I ask you try it out using an actual terminal application ? Sometimes, the interpreters get really screwed up when using Python consoles inside of IDEs.
Lastly, if none of this worked, it means that the h5py~=3.1.0 is a dependency conflict (even though I can see 3.1.0 is available from pip). This should be fixed by the developers that provide the installation instructions and so, you should open up an issue in the TensorFlow repository
But, before opening an issue, please make sure you can try everything correctly and troubleshoot as much as possible from your end.
Topic:
Machine Learning & AI
SubTopic:
General
Tags: