Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

h5py import error on libhdf5_serial.so.100

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?

like image 545
jordan mark Avatar asked Feb 24 '18 16:02

jordan mark


2 Answers

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.

like image 59
Unico Avatar answered Oct 18 '22 22:10

Unico


Install all of these packages

sudo apt-get install libhdf5-dev
sudo apt-get install libhdf5-serial-dev

sudo apt-get install libcblas-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev 
sudo apt-get install libqtgui4 
sudo apt-get install libqt4-test

https://stackoverflow.com/a/53402396/2696230

like image 4
Abdulkarim Kanaan Avatar answered Oct 18 '22 22:10

Abdulkarim Kanaan