HDF5 library version mismatched error

错误详情:

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_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.10.2, library is 1.10.1

且最后会出现:

Aborted (core dumped)

解决方法:
pip uninstall h5py
pip install h5py

参考:

https://stackoverflow.com/questions/34119670/hdf5-library-and-header-mismatch-error
https://blog.csdn.net/dreamscape9999/article/details/80701743 

猜你喜欢

转载自blog.csdn.net/weixin_41770169/article/details/90035139