h5py import error on libhdf5_serial.so.100

jordan mark picture jordan mark · Feb 24, 2018 · Viewed 16k times · Source

I have installed raspbian os on raspberry pi 3 model b. I have to perform a project which involves use of h5py.

The os already came preinstalled with python 2.7 and 3.5

With the help of pip, I installed h5py and it was successful, for python 3.5.

ImportError: libhdf5_serial.so.100: cannot open shared object file: No such file or directory

I don't know how to proceed with this error, can somebody please point out an appropriate way to handle this error?

Answer

Unico picture Unico · Apr 7, 2018

I met the same question as yours, and I have sloved it.You can use the website below to solve your problem.
https://www.howtoinstall.co/en/debian/stretch/

Here, it is https://www.howtoinstall.co/en/debian/stretch/?condition=starts-with&search=libhdf5, and you will find these commands finally.
sudo apt-get update
sudo apt-get install libhdf5-dev
sudo apt-get update
sudo apt-get install libhdf5-serial-dev

Don't forget "sudo apt-get update"!

Besides, you can visit my blog about this problem. https://www.jianshu.com/p/8e82da85616a
emmm, it's written in Chinese, so maybe you need http://translate.google.com
In the end, don't mind my chinglish, please.