0
votes

Error installing h5py using pip

Environment:- spark service IBM bluemix !pip install --user h5py fails with error gcc failed.

I even tried to download the package and then run !python setup.py install

1
h5py is not a standalone library. It requires native HDF5 libs which cannot be installed by pip. - zero323

1 Answers

1
votes

Here is an example notebook that illustrates how to:

  1. Grab a copy of the native HDF5 lib source and extract
  2. Configure, Make and Install the native HDF5 libs
  3. Successfully complete the install of h5py onto a notebook within the Bluemix Spark service.
  4. Executes some of the h5py quick start guide sample code.

Hope this helps.