Open aidanmontare-edu opened 2 years ago
@jswoboda Can you take a look at this on your M1?
@aidanmontare-edu Have you ever used the conda package manager before? You might have better luck installing digital_rf
with that since it will already be compiled. At least until we can see about making the source build work better for the M1.
@ryanvolz I'm not currently a conda user, but that's something I could try
@ryanvolz I installed miniconda on my system and was able to install digital_rf! I ran one or two of the examples, which finished fine, so this seems like a success.
I'd still be interested in a way to install / build with pip, if that becomes possible down the road. I am happy to be a tester for work on this.
I am unable to install digital_rf on my M1 Mac. Has anyone else run into issues on Apple Silicon? (I am using Python directly on arm, not through Rosetta).
When I run
pip install digital_rf
, it fails withfatal error: 'hdf5.h' file not found
.The first time I tried this, it failed during the install of a dependency, h5py. I was able to get h5py installed and working by first installing hdf5 from homebrew and then providing this path when calling pip:
HDF5_DIR=/opt/homebrew/opt/hdf5 pip install --no-binary=h5py h5py
. I verified the h5py was installed correctly by running the tests as described in its documentation.Even though hdf5 and h5py are now installed, installing digital_rf still fails with the same file not found error. The full output of
pip install digital_rf
is below. My best guess is that even though I have the dependencies somewhere on the system, it is not something that the install can find. However, I'm not well-versed in these things, so any help would be appreciated.A few system details:
CPU: M1 Pro
Mac OS 12.3
python 3.10.2 (installed using pyenv)
pip 22.0.4 hdf5 1.13.0 (via homebrew) h5py 3.6.0