我最近在python安装中升级了表,HDF5库似乎发生了一些奇怪的事情。在
我有一堆最初保存为.mat文件的数据,它使用HDF5格式。我一直在使用pyTables将其读入python,到目前为止,这一切都很好。在
我把pyTables升级到了3.0版本,看来这也升级了我的HDF5安装(或者类似的东西)。现在,每当我试图将.mat文件读入内存时,都会出现以下错误:Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_