Skip to content

installation failure on Mac 'ERROR: Failed building wheel for h5py' #2851

Closed Answered by jkingslake
jkingslake asked this question in Firedrake support
Discussion options

You must be logged in to vote

The installation is now working! 🥳 !

Two things I did to solve this are:

  1. At this stage I had already installed python with homebrew using brew install python, it just wasnt using this version yet. To correct this I added
    export 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.
  2. I download the latest firedrake installation script using
    wget https://raw.githubusercontent.com/firedrakeproject/firedrake/master/scripts/firedrake-install

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jkingslake
Comment options

Comment options

You must be logged in to vote
2 replies
@jkingslake
Comment options

@connorjward
Comment options

Answer selected by jkingslake
Comment options

You must be logged in to vote
5 replies
@connorjward
Comment options

@hwoo749
Comment options

@ReubenHill
Comment options

@hwoo749
Comment options

@ReubenHill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants