Can't Install H5Py (Error Failed Building Wheel for H5Py)

I m trying to install h5py on raspberry pi using

pip install h5py

and the installation always failed with

error:failed building wheel for h5py
4

2 Answers

Please try sudo -H pip3 install h5py It works for me.

please try sudo apt-get install libhdf5-dev

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest