导入h5py时出错

问题描述 投票:4回答:2

我一直在尝试导入h5py来读取这种类型的文件。

这是我的代码:

import h5py

file_1 = h5py.File("Out_fragment.h5py")

print file_1

输出是:

Traceback (most recent call last):
  File "./week11.py", line 17, in <module>
    import h5py
ImportError: No module named h5py

我也使用pip install h5py来获取这个模块,我不确定为什么它似乎没有正确安装。

谢谢。

python h5py
2个回答
© www.soinside.com 2019 - 2024. All rights reserved.