Hi Mamos,
Try conda install -c apple tensorflow-deps --force-reinstall, h5py is a part of tensorflow-deps packages
Post
Replies
Boosts
Views
Activity
Hi dkjdjdfdskln,
Thanks for clarifying! Can you please provide the commands you used for your setup so I can try them myself?
I'm able to install the latest tensorflow-macos on M1 system (with macOS 12.0.1) with no issues using both python3.8 and python3.9
Hi there,
Looks like python packages incompatibility issue. I would suggest creating a new/fresh conda environment (looks like conda is getting confused with different python packages, conda --force-reinstall didn't work for me) and following the install steps to get the latest TensorFlow or see commands (option #2) to install TensorFlow 2.5. If you don't specify any versions, you'll get all the latest versions by default (currently these are tensorflow-deps==2.6, tensorflow-macos==2.6, tensorflow-metal==0.2.0), which is recommended to use with macOS 12.0+ and is supported on both python 3.8 and python 3.9.
Option #2 To be able to use older versions, please be specific during the install:
conda install -c apple tensorflow-deps==2.5.0 python -m pip install tensorflow-macos==2.5.0 python -m pip install tensorflow-metal==0.1.2
Hope that helps!