Hi, I am having an issue regarding the h5py library. I tried many ways. I am using macOS, python 3.11.1. I tried to install it with pip3 and brew but faced error.
ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects
There are quite a few problems with installing some libraries on Mac when using python 3.11. I suggest that you go back to python 3.10 or 3.9. Depending on your mac configuration, one of these versions will work better for you. Let me if that helps to solve the problem!
Another possible solution: A while back I was trying to install some libraries on my Mac as well, but I suspected that the reason for this error was that I had the M1 Mac. I found a workaround online, which I don’t know why it works as I’m not savvy with these things, but it helped me.