h5py import error on libhdf5_serial.so.100

送分小仙女□ 提交于 2020-07-19 03:53:18

问题


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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/48965309/h5py-import-error-on-libhdf5-serial-so-100

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!