这个错误真的是,折磨了我一天。
pycharm中遇见了以下这个错误,试了很多办法都没成,后来终于!

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.4, library is 1.10.5SUMMARY OF THE HDF5 CONFIGURATION=================================General Information:
-------------------HDF5 Version: 1.10.5Configured on: 2019-03-04Configured by: Visual Studio 14 2015 Win64Host system: Windows-10.0.17763Uname information: WindowsByte sex: little-endianInstallation point: C:/Program Files/HDF5Compiling Options:
------------------Build Mode: Debugging Symbols: Asserts: Profiling: Optimization Level: Linking Options:
----------------Libraries: Statically Linked Executables: OFFLDFLAGS: /machine:x64H5_LDFLAGS: AM_LDFLAGS: Extra libraries: Archiver: Ranlib: Languages:
----------C: yesC Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24218.1CPPFLAGS: H5_CPPFLAGS: AM_CPPFLAGS: CFLAGS:  /DWIN32 /D_WINDOWS /W3H5_CFLAGS: AM_CFLAGS: Shared C Library: YESStatic C Library: YESFortran: OFFFortran Compiler:  Fortran Flags: H5 Fortran Flags: AM Fortran Flags: Shared Fortran Library: YESStatic Fortran Library: YESC++: ONC++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24218.1C++ Flags: /DWIN32 /D_WINDOWS /W3 /GR /EHscH5 C++ Flags: AM C++ Flags: Shared C++ Library: YESStatic C++ Library: YESJAVA: OFFJAVA Compiler:  Features:
---------Parallel HDF5: OFF
Parallel Filtered Dataset Writes: Large Parallel I/O: High-level library: ONThreadsafety: OFFDefault API mapping: v110With deprecated public symbols: ONI/O filters (external):  DEFLATE DECODE ENCODEMPE: Direct VFD: dmalloc: Packages w/ extra debug output: API Tracing: OFFUsing memory checker: OFFMemory allocation sanity checks: OFFFunction Stack Tracing: OFFStrict File Format Checks: OFFOptimization Instrumentation:
Bye...Process finished with exit code -1073740791 (0xC0000409)

1、在pycharm的命令行中运行:

pip uninstall h5py

然后输入y ,确认卸载

2、输入
pip install h5py

出现这样的一个错误:

3、于是根据这三行的提示输入:

pip install --target=c:\users\dell\anaconda3\envs\tensorflow\lib\site-packages h5py==2.8.0


就安装好了,不再报错了

Warning! ***HDF5 library version mismatched error***相关推荐

  1. Python h5py安装 HDF5 library version mismatched error

    报错 UserWarning: h5py is running against HDF5 1.12.1 when it was built against 1.12.2, this may cause ...

  2. HDF5 library version mismatched error的解决方案

    1.报错信息 Warning! ***HDF5 library version mismatched error*** The HDF5 header files used to compile th ...

  3. BUG:HDF5 library version mismatched error

    今天用keras搭建了一个小的卷积网络,结果在jupyter-notebook中出现这样的错误,并一直要重启服务:在pycharm中也出现了同样的错误. 以下是详细的错误信息,应该是HDF5版本不匹配 ...

  4. 机器学习笔记~HDF5 library version mismatched error与ImportError: 'save_model' requires h5py问题解决

    1. 今天在windows上使用Tensorflow时,出现了下面的问题: 直接执行如下命令,解决: pip uninstall h5py pip install h5py 2. 后续在使用过程中,又 ...

  5. 解决HDF5 library version mismatched error

  6. 生成图片遇到Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error问题解决方案

    生成图片遇到Warning: imagecreatefromjpeg: gd-jpeg: JPEG library reports unrecoverable error问题解决方案 报错原因和方案 ...

  7. nvidia-smi:Failed to initialize NVML: Driver/library version mismatch

    在公司电脑上,经常遇到Failed to initialize NVML: Driver/library version mismatch 其实呢,就是显卡和Driver版本不匹配. (base) n ...

  8. failed to initialize nvml driver/library version mismatch ubuntu

    英伟达驱动版本是384.130 显示的NVRM version: NVIDIA UNIX x86_64 Kernel Module是:384.130. 若是旧的版本就会出现如下问题. 这个问题出现的原 ...

  9. 解决Driver/library version mismatch

    服务器更新nvidia driver 版本之后,经常会出现 Failed to initialize NVML: Driver/library version mismatch 这个问题出现的原因是k ...

最新文章

  1. 【前瞻】机器人领域十项前沿技术
  2. Oracle使用技巧----sqlplus Set常用设置
  3. 原型链Object的一些方法
  4. linux Json c++库
  5. 如何快速解决虚拟机中的CentOS7无法上网的方式
  6. 牛客多校3 - Sort the Strings Revision(笛卡尔树+分治)
  7. 【IT笔试面试题整理】丑数
  8. java web源代码_检测Java Web应用程序而无需修改其源代码
  9. Azure实践之如何批量为资源组虚拟机创建alert
  10. python信息传送管道_python – 获取返回管道输入的命令
  11. 【Spring AOP】基于注解的 AOP 编程
  12. POJ 3683 Priest John's Busiest Day
  13. opencv基础:相机参数标定(camera calibration)及标定结果如何使用
  14. TF卡数据丢失?如何快速恢复?
  15. ISDA发布亚洲衍生品调查报告
  16. 为什么一个操作系统连个进程启动日志都没有
  17. 没考驾照的恭喜了!上海打响第一枪!
  18. 2020烟草专业一战跨考复旦大学计算机专硕经验贴
  19. Python爬取蓝奏云直链(获取真实文件地址)
  20. python处理excel表格中合并的行

热门文章

  1. 物联卡是正规卡吗?物联网卡长什么样?
  2. 九龙证券|石墨烯电池和锂离子电池哪个好
  3. html5滚动条样式修改,css修改滚动条样式
  4. 《时代的变换》:现象、网络和时代变换的动力
  5. 锂电池切换平衡解决方案ETA3000
  6. 牛雪峰:夜色归来,异样的相同
  7. 【vue】实现打印功能
  8. 装箱和拆箱详解 正则
  9. 安卓短信加密_【安卓用户】通讯录同步助手使用教程
  10. 关闭计算机的配色方案更改,win7配色方案已更改为Windows7 Basic怎么改回来