【发布时间】:2018-08-04 12:58:04
【问题描述】:
我已经在 raspberry pi 3 model b 上安装了 raspbian os。我必须执行一个涉及使用 h5py 的项目。
操作系统已经预装了 python 2.7 和 3.5
在 pip 的帮助下,我安装了 h5py,它是成功的,对于 python 3.5。
ImportError: libhdf5_serial.so.100: cannot open shared object file: No such file or directory
我不知道如何处理此错误,有人可以指出处理此错误的适当方法吗?
【问题讨论】:
-
正如错误所说,python 找不到 hdf5 库。如果您在“源代码安装”部分阅读docs.h5py.org/en/latest/build.html,会提到三个要求。首先安装 HDF5 库:depts.washington.edu/cssuwb/wiki/linux_hdf5_installation。并再次安装 h5py。
-
谷歌搜索你的错误产生了这个修复:github.com/h5py/h5py/issues/672
标签: python raspberry-pi raspbian h5py