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 ...
随机推荐
- MT【134】待定系数
已知\(a,b>0\)且\(ab(a+b)=4\),求\(2a+b\)的最小值______. 解答:\(\sqrt{3}(2a+b)\ge(\sqrt{3}+1)a+b+(\sqrt{3}-1) ...
- 注册系统所有的dll文件.bat
@echo off echo 运行后,能重新注册系统所有的dll文件, echo 能解决内存读写错误的问题 pause echo on for %%1 in (%windir%/system32/*. ...
- 洛谷P5283 & LOJ3048:[十二省联考2019]异或粽子——题解
https://www.luogu.org/problemnew/show/P5283 https://loj.ac/problem/3048 小粽是一个喜欢吃粽子的好孩子.今天她在家里自己做起了粽子 ...
- 【bzoj3573】 Hnoi2014—米特运输
http://www.lydsy.com/JudgeOnline/problem.php?id=3573 (题目链接) 题意 题意是这道题最大的难点→_→ Solution 沙茶树形dp,考虑一定会存 ...
- 【bzoj4264】小C找朋友
题解 $a$和$b$是好*友说明除了这两个人以外的邻接集合相同: 做两次$hash$,分别都处理和$a$相邻的点排序$hash$,①$a$要算进$a$的相邻集合,②$a$不算进: 当两个人不是好*友, ...
- MySQL使用笔记(八)统计函数和分组数据记录查询
By francis_hao Dec 17,2016 统计函数数据记录查询 统计函数 统计函数 描述 count() count(*):统计表中记录条数(包括NULL值字段) count(fie ...
- (一)C的编译,printf,规范化
(一)编译的具体过程: 以前一直觉得,C代码的具体实现过程就是把几个.c文件编译成.o文件,然后链接在一起就可以了.可是最近在看C Prime Plus查漏补缺基础知识的过程中发现,这里的链接其实链接 ...
- unity抗锯齿(Antialiasing)
目前知道的有两种方式,下面依次介绍 一.系统菜单设置法. 这样只能简单去锯齿,要想效果特别明显,看下面的脚本吧. 二.为摄像机挂上一个去锯齿的系统脚本 导入后Assets资源下多了一个包 找到这个脚本 ...
- Java7的新特性
原文出处:xixicat 序 本文主要讲Java7的新特性,相对于Java6而言,Java7增加了一些重要的特性,比如NIO2,不像Java6那么鸡肋,也算是一个重要的版本. 特性列表 suppres ...
- day4 数组学习
java提供的数组排序操作:java.util.Arrays.sort(数组名): java提供的数组复制:system.arraycopy(源数组名称,源数组开始点下标,目标数组名称,目标数组开始下 ...