前言
博主在运行吴恩达老师 DL 课后编程题的时候还没开始就遇到包报错的问题了。在网上找了好多解决办法,在这里统一记录一下。希望能帮到遇到同样问题的小伙伴们~

简单分析一下报错信息,可以看出是 h5py 这个包本身出了问题,应该是 h5.pyx 有错误。

解决方法如下:

1. 升级 h5py 版本

一开始在网上看到有人说需要升级版本,我就安了最新版本的 h5py ,后来又发现你最新版本的 h5py 不支持我当前的 python 版本(Python3.6),改到适合 python 的版本后问题也没能解决

【h5py 报错】ImportError: DLL load failed while importing defs: 找不到指定的程序。相关推荐

  1. Python使用Pillow包报错 ImportError: DLL load failed while importing _imaging: 找不到指定的程序。

    最近使用Python调用Pillow时报错,代码就两行: from PIL import Imageprint("PyCharm") 报错如下: Traceback (most r ...

  2. 使用wxauto出现ImportError: DLL load failed while importing win32gui: 找不到指定的程序报错的解决方案

    文章目录 背景 错误提示 解决方案 建议关注我的 微信公众号:破壳Ai,分享最佳学习路径.教程和资源.成长路上,我陪你. 背景 利用 wxauto 开发微信机器人,Pycharm 中运行程序时出错 错 ...

  3. import statsmodels.api as sm 时 ImportError: DLL load failed while importing _arpack: 找不到指定的程序。

    import statsmodels.api as sm 时 报错如下: 解决过程曲折,大致就是 scipy 版本与 statsmodels 的有些方法 不兼容,scipy==1.6.0后,问题解决了 ...

  4. Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。

    在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...

  5. 【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块

    在 windows 上使用 matplotlib 包的时候报错如下: ImportError: DLL load failed while importing _imaging: 找不到指定的模块. ...

  6. ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)

    本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...

  7. [Win11] ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块 Conda无法激活环境

    文章目录 1 报错 2 解决 参考 1 报错 Traceback (most recent call last):File "<stdin>", line 1, in ...

  8. 【BUG】DLL load failed while importing pyopenpose: 找不到指定的模块

    问题: ImportError: DLL load failed while importing pyopenpose: 找不到指定的模块. 解决方法: 1.把build\bin里面的全部dll,复制 ...

  9. 运行 skimage 报错ImportError: DLL load failed:找不到指定模块

    经常遇到的一个问题 运行 skimage 报错ImportError: DLL load failed:找不到指定模块,花了2个小时逐个排查,以及网上找原因验证,最终解决了. 通过一下安装仍会报错 p ...

  10. jupyter notebook出现DLL load failed while importing _multiarray_umath: 找不到指定的模块

    安装gpu版本的pytorch之后,在pycharm上测试没出现问题而在jupyter notebook却出现问题 问题描述: import torch E:\Miniconda3\envs\d2l\ ...

最新文章

  1. 追溯XLNet的前世今生:从Transformer到XLNet
  2. Weblogic 9.2和10.3 改密码 一站完成
  3. optee内核中malloc函数的原理介绍
  4. dojo readings
  5. 数据库------事务
  6. 课外阅读(XHTML和XML简介)
  7. 飞鸽传书2007绿色版
  8. linux查看服务端口号、查看端口(netstat、lsof)
  9. input框保持两位小数
  10. SAP License:SAP Query操作手册
  11. mysql 字符串出现问题_MYSQL 中字符串函数 归纳总结
  12. python读取文件路径中有中文_转 python 读取中文文件名/中文路径
  13. scala学习笔记三----scala函数式编程风格学习
  14. 科罗拉多州立大学计算机科学专业,2020年科罗拉多州立大学有哪些优势专业
  15. mysql 使用异步io_InnoDB引擎之-异步IO(Async IO)
  16. Unix网络编程5种IO模型
  17. 使用Spring Cache设置缓存条件
  18. 【理解】运用数据透视表制作三栏账
  19. 国内外有名的计算机视觉团队汇总
  20. 实景三维重建大雁云与三青鸟达成战略合作提供自助式实景三维建模全流程服务

热门文章

  1. KVM磁盘格式转换,raw转qcow2
  2. 红警2(红色警戒)之尤里的复仇 局域网对战联机方法
  3. 那些黑天鹅教会我们的IT知识
  4. Python 根据身份证号码计算持有者年龄
  5. 常见大学机房的计算机设备,长江大学公共机房管理办法
  6. 【linux学习笔记】began,每次玩这个都特别着迷
  7. AttributeError: 'list' object has no attribute 'send_keys',python+selenium 实现QQ空间网页的自动登陆。
  8. 中国大学排行榜网站的爬取
  9. 前端vue生成二维码
  10. element时间组件在苹果回显无效果