Unable to run first lab. Facing issues installing h5py library

I tried running docker locally on Mac M3. But not able to install h5py library.

29.66       running build_ext
29.66       Loading library to get build settings and version: libhdf5.so
29.66       error: Unable to load dependency HDF5, make sure HDF5 is installed properly
29.66       Library dirs checked: []
29.66       error: libhdf5.so: cannot open shared object file: No such file or directory
29.66       [end of output]
29.66
29.66   note: This error originates from a subprocess, and is likely not a problem with pip.
29.66   ERROR: Failed building wheel for h5py
29.66   Building wheel for cvlib (setup.py): started
30.10   Building wheel for cvlib (setup.py): finished with status 'done'
30.11   Created wheel for cvlib: filename=cvlib-0.2.7-py3-none-any.whl size=10046370 sha256=cdc9eb5efdebb19295d15c14e6667e1a6094c6f62362f60bea26480f4050510f
30.11   Stored in directory: /tmp/pip-ephem-wheel-cache-n39bxum4/wheels/47/ea/1c/d618f916b503769662fc15debfdefbf7bc43f014465c3bb7c7
30.11   Building wheel for imutils (setup.py): started
30.22   Building wheel for imutils (setup.py): finished with status 'done'
30.22   Created wheel for imutils: filename=imutils-0.5.4-py3-none-any.whl size=25836 sha256=fe239bc2b0379e4ae7f74e1f68db12cbd334390be7ea259d559ab438d044151b
30.22   Stored in directory: /tmp/pip-ephem-wheel-cache-n39bxum4/wheels/31/d0/2c/87ce38f6052879e5b7b18f0f8b4a10ad2a9d210e908d449f16
30.22   Building wheel for progressbar (setup.py): started
30.32   Building wheel for progressbar (setup.py): finished with status 'done'
30.32   Created wheel for progressbar: filename=progressbar-2.5-py3-none-any.whl size=12067 sha256=ddde8b3c005f17cb7cea7d3ede8c253346cb6c9553935b341c8ebb7182888939
30.32   Stored in directory: /tmp/pip-ephem-wheel-cache-n39bxum4/wheels/8d/bb/b2/5353b966ac6f3c5e1000629a9a5f6aed41794487f551e32efc
30.32 Successfully built cvlib imutils progressbar
30.32 Failed to build h5py
30.32 ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects

check if your python version matches, another issue would related to build wheel, refer the below thread