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 ...
随机推荐
- Python fullstack系列【1】:初识Python
Python简介 Python的前世今生: Python诞生于1989年的圣诞节期间,其作者是吉多·范罗苏姆(Guido van Rossum).当时Guido(江湖人称龟叔)在阿姆斯特丹度假时着手开 ...
- delphi ERP框架
之前做c/s架构,接了有家装饰的一个ERP项目,做了一个ERP框架,现在转后端开发了,这些东西还是蛮怀念的,就开源出来吧,有需要的同学可以参考. https://github.com/qianlnk/ ...
- Java多线程(二) —— 深入剖析ThreadLocal
对Java多线程中的ThreadLocal类还不是很了解,所以在此总结一下. 主要参考了http://www.cnblogs.com/dolphin0520/p/3920407.html 中的文章. ...
- java 构造器二
- 【Java并发编程】之一:可重入内置锁
每个Java对象都可以用做一个实现同步的锁,这些锁被称为内置锁或监视器锁.线程在进入同步代码块之前会自动获取锁,并且在退出同步代码块时会自动释放锁.获得内置锁的唯一途径就是进入由这个锁保护的同步代码块 ...
- QPainter 基础绘图
调用QPainter的接口来绘制一些基本的图形 头文件: #include <QMainWindow> #include <QPainter> namespace Ui { c ...
- hdu-3308 LCIS (线段树区间合并)
LCIS Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submis ...
- BZOJ 1036 树的统计 | 树链剖分模板题
又做了一遍--去掉读入优化只有八十行~ #include <cstdio> #include <cstring> #include <algorithm> usin ...
- 51nod 1678 lyk与gcd | 容斥原理
51nod 200题辣ψ(`∇´)ψ !庆祝! 51nod 1678 lyk与gcd | 容斥原理 题面 这天,lyk又和gcd杠上了. 它拥有一个n个数的数列,它想实现两种操作. 1:将 ai 改为 ...
- Java考试题之四
QUESTION 73 Given: 10: public class Hello { 11: String title; 12: int value; 13: public Hello() { 14 ...