pip install --no-binary h5py 'firedrake[check]' fails on MacOS #4303
-
Running on an Apple M3 MacBook Air, Sequoia 15.4.1 and following the installation instructions from https://www.firedrakeproject.org/install.html#installing-firedrake-using-pip Python version is 3.12.0, also tried with 3.13.0 Got most of the way there, updated everything on the system, and then fell at what feels like the final hurdle. The output from the commmand is below (sorry about the length). There's a complaint about Cython, and that now seems to be the real problem. UPDATE: originally I noted that there were issues with libsupermesh and libspatialindex -- this turned out to be anaconda "lying" to me. Despite it having been instructed to update itself, it hadn't, and was using an old version with old files from an Intel-CPU machine. Uninstalling and reinstalling solved that problem, but the Cython issue remains and is preventing the creation of the petsc4py wheel. (venv-firedrake) MacBook-Air:~ beelzebub$ pip install --no-binary h5py 'firedrake[check]' × pip subprocess to install build dependencies did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × pip subprocess to install build dependencies did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a known issue. We have just rebuilt the documentation with a temporary workaround (setting |
Beta Was this translation helpful? Give feedback.
This is a known issue. We have just rebuilt the documentation with a temporary workaround (setting
PIP_CONSTRAINT
).