I am running macOS 11, python 3.9, and am using ARM64 hardware (Apple Silicon M1). It's a MacBook Air.
Trying to install tensor flow via pip
pip3.9 install tensorflow-macos==2.6.0
results in the following error:
ERROR: Could not find a version that satisfies the requirement h5py~=3.1.0 (from tensorflow-macos) (from versions: 2.2.1, 2.3.0b1, 2.3.0, 2.3.1, 2.4.0b1, 2.4.0, 2.5.0, 2.6.0, 2.7.0rc2, 2.7.0, 2.7.1, 2.8.0rc1, 2.8.0, 2.9.0rc1, 2.9.0, 2.10.0, 3.0.0rc1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.5.0, 3.6.0)
ERROR: No matching distribution found for h5py~=3.1.0
h5py doesn't currently have a wheel available. I can install from source, for example, by installing using home-brew and the following command:
HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.1 pip3.9 install --no-binary=h5py h5py==3.1.0
This just installs without the binary.
However, there's no way for me to specify this in the tensor flowinstallation via pip, so it won't work.
How can we resolve this issue?
I am running macOS 11, python 3.9, and am using ARM64 hardware (Apple Silicon M1). It's a MacBook Air.
Trying to install tensor flow via pip
pip3.9 install tensorflow-macos==2.6.0results in the following error:
h5py doesn't currently have a wheel available. I can install from source, for example, by installing using home-brew and the following command:
HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.1 pip3.9 install --no-binary=h5py h5py==3.1.0This just installs without the binary.
However, there's no way for me to specify this in the tensor flowinstallation via pip, so it won't work.
How can we resolve this issue?