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 ...
随机推荐
- Idea使用Mybatis Generator 自动生成代码
(1)创建一个maven工程 (2)配置pom文件 <dependencies> <dependency> <groupId>mysql</groupId&g ...
- Machine Learning CodeForces - 940F(带修改的莫队)
题解原文地址:https://www.cnblogs.com/lujiaju6555/p/8468709.html 给数组a,有两种操作,1 l r查询[l,r]中每个数出现次数的mex,注意是出现次 ...
- Getting logback and slf4j to work in JBoss AS 7
As usual, it has to do with classloading and that JBoss internally also uses slf4j and logback. As e ...
- STL stack 容器
STL stack 容器 Stack简介 stack是堆栈容器,是一种“先进后出”的容器. stack是简单地装饰deque容器而成为另外的一种容器. #include <s ...
- ZABBIX 3.4 监控Nginx 状态(七)
一.环境准备 1.在nginx的配置文件中,添加status配置 location /nginx_status { stub_status on; ...
- Linux内核分析实验六
Linux内核分析实验六 进程控制块PCB——task_struct(进程描述符) 为了管理进程,内核必须对每个进程进行清晰的描述,进程描述符提供了内核所需了解的进程信息. struct task_s ...
- 第一章:CDib类库的建立
VC++图像处理程序设计(第1版) 杨淑莹 编著 边奠英 主审 第一章 位图基础 Joanna-In-Hdu&Hust 手工打,印象更深刻 使用工具 VS2010 mfc 整本 ...
- Button 或 ImageButton 背景设为 透明 或半透明 (转)
半透明<Button android:background="#e0000000" ... /> 透明<Button android:background=&qu ...
- lumen passport Call to undefined method Laravel\Lumen\Application::group()
解决方法:https://github.com/dusterio/lumen-passport/issues/69 public function boot() { LumenPassport::ro ...
- 利用solr实现商品的搜索功能
后期补充: 为什么要用solr服务,为什么要用luncence? 问题提出:当我们访问购物网站的时候,我们可以根据我们随意所想的内容输入关键字就可以查询出相关的内容,这是怎么做到呢?这些随意的数据 ...