Ubuntu: HDF5报错: HDF5 header version与HDF5 library不匹配
今天在执行一个用到hdf5的python脚本时,遇到如下错误
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 ''.
Setting it to or higher will suppress the warning messages totally.
Headers are 1.8., library is 1.8.
SUMMARY OF THE HDF5 CONFIGURATION
================================= General Information:
-------------------
HDF5 Version: 1.8.
Configured on: Fri Dec :: CST
Configured by: ilan@centos5x64
Configure mode: production
Host system: x86_64-unknown-linux-gnu
Uname information: Linux centos5x64 2.6.-.el5 # SMP Tue Jan :: EST x86_64 x86_64 x86_64 GNU/Linux
Byte sex: little-endian
Libraries:
Installation point: /opt/anaconda1anaconda2anaconda3 Compiling Options:
------------------
Compilation Mode: production
C Compiler: /usr/bin/gcc ( gcc (GCC) 4.1. )
CFLAGS:
H5_CFLAGS: -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wformat= -Wunreachable-code -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wvolatile-register-var -O3 -fomit-frame-pointer -finline-functions
AM_CFLAGS:
CPPFLAGS:
H5_CPPFLAGS: -D_POSIX_C_SOURCE=199506L -DNDEBUG -UH5_DEBUG_API
AM_CPPFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE
Shared C Library: yes
Static C Library: no
Statically Linked Executables: no
LDFLAGS:
H5_LDFLAGS:
AM_LDFLAGS:
Extra libraries: -lpthread -lz -lrt -lm
Archiver: ar
Ranlib: ranlib
Debugged Packages:
API Tracing: no Languages:
----------
Fortran: no C++: no Features:
---------
Parallel HDF5: no
High Level library: yes
Threadsafety: yes
Default API Mapping: v18
With Deprecated Public Symbols: yes
I/O filters (external): deflate(zlib)
I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset
MPE: no
Direct VFD: no
dmalloc: no
Clear file buffers before write: yes
Using memory checker: no
Function Stack Tracing: no
GPFS: no
Strict File Format Checks: no
Optimization Instrumentation: no
Large File Support (LFS): yes
Bye...
Aborted (core dumped)
昨天还好好的,今天怎么就出现了问题。回忆了一下好像昨天更新了anaconda,可能导致了冲突,经查看,确实如此。Anaconda中安装的hdf5库是1.8.9的, 而之前通过pip intall h5py库应该就是1.8.11的, 一山不容二虎,于是把旧版本删除了
sudo pip uninstall h5py
按下回车,果然在系统自带的python下有以前的h5py版本
Uninstalling h5py:
/usr/local/lib/python2./dist-packages/h5py-2.3..egg-info
/usr/local/lib/python2./dist-packages/h5py/__init__.py
/usr/local/lib/python2./dist-packages/h5py/__init__.pyc
/usr/local/lib/python2./dist-packages/h5py/_conv.so
/usr/local/lib/python2./dist-packages/h5py/_errors.so
/usr/local/lib/python2./dist-packages/h5py/_hl/__init__.py
/usr/local/lib/python2./dist-packages/h5py/_hl/__init__.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/attrs.py
/usr/local/lib/python2./dist-packages/h5py/_hl/attrs.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/base.py
/usr/local/lib/python2./dist-packages/h5py/_hl/base.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/dataset.py
/usr/local/lib/python2./dist-packages/h5py/_hl/dataset.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/datatype.py
/usr/local/lib/python2./dist-packages/h5py/_hl/datatype.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/dims.py
/usr/local/lib/python2./dist-packages/h5py/_hl/dims.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/files.py
/usr/local/lib/python2./dist-packages/h5py/_hl/files.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/filters.py
/usr/local/lib/python2./dist-packages/h5py/_hl/filters.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/group.py
/usr/local/lib/python2./dist-packages/h5py/_hl/group.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/selections.py
/usr/local/lib/python2./dist-packages/h5py/_hl/selections.pyc
/usr/local/lib/python2./dist-packages/h5py/_hl/selections2.py
/usr/local/lib/python2./dist-packages/h5py/_hl/selections2.pyc
/usr/local/lib/python2./dist-packages/h5py/_objects.so
/usr/local/lib/python2./dist-packages/h5py/_proxy.so
/usr/local/lib/python2./dist-packages/h5py/defs.so
/usr/local/lib/python2./dist-packages/h5py/h5.so
/usr/local/lib/python2./dist-packages/h5py/h5a.so
/usr/local/lib/python2./dist-packages/h5py/h5ac.so
/usr/local/lib/python2./dist-packages/h5py/h5d.so
/usr/local/lib/python2./dist-packages/h5py/h5ds.so
/usr/local/lib/python2./dist-packages/h5py/h5f.so
/usr/local/lib/python2./dist-packages/h5py/h5fd.so
/usr/local/lib/python2./dist-packages/h5py/h5g.so
/usr/local/lib/python2./dist-packages/h5py/h5i.so
/usr/local/lib/python2./dist-packages/h5py/h5l.so
/usr/local/lib/python2./dist-packages/h5py/h5o.so
/usr/local/lib/python2./dist-packages/h5py/h5p.so
/usr/local/lib/python2./dist-packages/h5py/h5r.so
/usr/local/lib/python2./dist-packages/h5py/h5s.so
/usr/local/lib/python2./dist-packages/h5py/h5t.so
/usr/local/lib/python2./dist-packages/h5py/h5z.so
/usr/local/lib/python2./dist-packages/h5py/highlevel.py
/usr/local/lib/python2./dist-packages/h5py/highlevel.pyc
/usr/local/lib/python2./dist-packages/h5py/ipy_completer.py
/usr/local/lib/python2./dist-packages/h5py/ipy_completer.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/__init__.py
/usr/local/lib/python2./dist-packages/h5py/tests/__init__.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/common.py
/usr/local/lib/python2./dist-packages/h5py/tests/common.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_attrs.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_attrs.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_attrs_data.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_attrs_data.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_base.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_base.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_dataset.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_dataset.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_datatype.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_datatype.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_dimension_scales.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_dimension_scales.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_file.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_file.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_group.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_group.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5f.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5f.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5p.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5p.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5t.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_h5t.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_objects.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_objects.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_selections.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_selections.pyc
/usr/local/lib/python2./dist-packages/h5py/tests/test_slicing.py
/usr/local/lib/python2./dist-packages/h5py/tests/test_slicing.pyc
/usr/local/lib/python2./dist-packages/h5py/utils.so
/usr/local/lib/python2./dist-packages/h5py/version.py
/usr/local/lib/python2./dist-packages/h5py/version.pyc
Proceed (y/n)? y
Successfully uninstalled h5py
Ubuntu: HDF5报错: HDF5 header version与HDF5 library不匹配的更多相关文章
- CentOS6.6 编译Redis报错:"Newer version of jemalloc required"
一.前言 不同系统同一个问题,可能解决方法不一样,也可能会遇到不同的问题,所以具体情况具体分析,我的系统是Centos6.6, 查看系统命令 cat /etc/issue 二.安装redis后编译报 ...
- Ubuntu系统---报错Assertion '0' failed
Ubuntu系统---报错Assertion '0' failed YOLO V3,CUDA Error: out of memory darknet: ./src/cuda.c:36: check_ ...
- Ubuntu系统报错The system is running in low-graphics mode
Ubuntu系统报错:The system is running in low-graphics mode 我遇到过两次这种请况,这次解决了.很nice! 在csdn上搜到的大部分操作是: 鼠标进入系 ...
- Eclipse报错 due to restriction on required library C:/Java/jdk1.7.51/jre/lib/rt.jar 解决方案
Eclipse报错 due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方案 Eclipse 编译时 ...
- Oracle 插入时间时 报错:ORA-01861: 文字与格式字符串不匹配 的解决办法
一.写sql的方式插入到Oracle中 往oracle中插入时间 '2007-12-28 10:07:24'如果直接按照字符串方式,或者,直接使用to_date('2007-12-28 10:07: ...
- php源码安装执行configure报错error: off_t undefined; check your library configuration
php安装执行configure报错error: off_t undefined; check your library configuration vim /etc/ld.so.conf 添加如下几 ...
- python连接oracle数据库报错"DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "解决方案
操作系统,python3.5, oracle_11, 均为64位:plsql 正常连接. 也顺利安装了cx_oracle 6.3,但是python进行连接的时候就会报错"DatabaseEr ...
- maven项目报错--Cannot change version of project facet Dynamic Web Module to 3.0 Error in Eclipse
错误原因: 使用ecplise构建的maven骨架默认支持的是web2.3的版本,当使用这个创建3.0版本的web项目时则会报这样的错误: Cannot change version of proje ...
- Ubuntu adb 报错:no permissions (user in plugdev group; are your udev rules wrong?);
Ubuntu 下 adb 报错: caoxinyu@caoxinyu-ThinkPad-T470p:~/Android/Sdk/platform-tools$ ./adb devices List o ...
随机推荐
- JavaScript本地存储实践(html5的localStorage和ie的userData)
http://www.css88.com/archives/3717 JavaScript本地存储实践(html5的localStorage和ie的userData) 发表于 2011年06月11日 ...
- Java继承,重写方法时改变方法的访问权限
java中的方法天生具有继承多态特性,这点与C++有很大不同(需要在父类方发上加virtual关键字),但用起来确实方便了许多. 最简单的继承多态 声明一个接口BaseIF,只包含一个方法声明 pub ...
- git 常用命令(含删除文件)
git 常用命令(含删除文件) Git常用操作命令收集: 1) 远程仓库相关命令 检出仓库:$ git clone git://github.com/jquery/jquery.git 查看远程仓库: ...
- Alpha,Beta,RC,RTM,EVAL,CTP,OEM,RTL,VOL
微软的一个系统(如Win 7)或开发工具(VS系列),往往会对应很多种版本,下面就介绍一下这些版本的含义: Alpha (阿尔法,希腊字母的第一位'α',代表最初的版本) Alpha是内部测试版, ...
- A New Function LightOJ - 1098()
题意 求 1 - n的的所有数的因子(不包括自身和1)和 对于一个数 i ,以i为因子的数的个数为 n/i 因为不能包括自身 所以 减一 即 n/i-1 这样遍历每一个数 累加即可 但复杂度较 ...
- 【比赛】NOIP2017 奶酪
开始看到题以为是计算几何,后面发现不是,然后秒掉了. 可能写SPFA写多了,别人都是并查集做的,我用的是SPFA. 不过无所谓,我们把题目中的下底面和上表面看成两个点,那么就是求这两个点的连通性,如果 ...
- BZOJ4037:[HAOI2015]数字串拆分——题解
https://www.lydsy.com/JudgeOnline/problem.php?id=4037 你有一个长度为n的数字串.定义f(S)为将S拆分成若干个1~m的数的和的方案数,比如m=2时 ...
- 洛谷 P1446 [HNOI2008]Cards 解题报告
P1446 [HNOI2008]Cards 题目描述 小春现在很清闲,面对书桌上的\(N\)张牌,他决定给每张染色,目前小春只有\(3\)种颜色:红色,蓝色,绿色.他询问Sun有多少种染色方案,Sun ...
- 【Asp.net入门5-02】创建数据模型和存储库
- caffe 配置文件详解
主要是遇坑了,要记录一下. solver算是caffe的核心的核心,它协调着整个模型的运作.caffe程序运行必带的一个参数就是solver配置文件.运行代码一般为 # caffe train --s ...