installation failure on Mac 'ERROR: Failed building wheel for h5py' #2851
-
I am installing on mac 13.2.1 (22D68). It seems to fail when trying to install h5py. I tried installing h5py with homebrew separately, but that did not seem to help. This issue seems to be the same, but it is unclear if it was resolved. Log files are attached. Any help would be much appreciated. firedrake-install.log |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
I notice two things:
|
Beta Was this translation helpful? Give feedback.
-
Thanks so much for taking a look so quickly! System PythonI was aware of this issue and tried to avoid it, but I didnt find much online about how to determine if I am using the system python. I ran newer macOS version...I downloaded the install script a few weeks ago. Should i get a more recent one? I did update xcode while dealing with another issue with this installation. I can try doing that again if you think it will help. |
Beta Was this translation helpful? Give feedback.
-
The installation is now working! 🥳 ! Two things I did to solve this are:
In case they are useful to anyone, here are the firedrake and petsc log files from the successful installation: Note, prior to this I was having an issue with a fortran compiler, so I followed the advice here and reinstalled the xcode command line tools. Thanks @connorjward for the help! |
Beta Was this translation helpful? Give feedback.
-
Hiya, I have successfully downloaded firedrake, and I have been following your instructions @jkingslake on how to install icepack, which have been very helpful - I think I have installed it correctly but I am struggling to activate the virtual environment. harrietwoodward@Harriets-MacBook-Air ~ % source firedrake/bin/activate The path to icepack is as follows: How do I go about activating the icepack virtual environment? I tried cd $VIRTUAL_ENV/firedrake/bin/firedrake/src/icepack |
Beta Was this translation helpful? Give feedback.
The installation is now working! 🥳 !
Two things I did to solve this are:
brew install python
, it just wasnt using this version yet. To correct this I addedexport PATH="/usr/local/opt/python/libexec/bin:$PATH"
to .zshrc, as suggested here. This ensures that the homebrew-installed version of python is the default python you get when you type
python
into the terminal. I think adding the same line to .bash_profile will work the same way if your terminal is set up to use bash.wget https://raw.githubusercontent.com/firedrakeproject/firedrake/master/scripts/firedrake-install