原因是python3.8只在指定的位置搜索dll,解决方法是在python代码中将要搜索的dll目录加入搜索路径。

Starting with Python 3.8, the .dll search mechanism has changed.

According to [Python 3.Docs]: os.add_dll_directory(path) (emphasis is mine):

Add a path to the DLL search path.

This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through sys.path), and also by ctypes.

So, you could do:

os.add_dll_directory("path_to_working_dlls_directoy")

You can check [SO]: PyWin32 and Python 3.8.0 (@CristiFati's answer) (which has the same cause), for more details.

FileNotFoundError: Could not find module 'xxx.dll'. Try using the full path with constructor syntax.相关推荐

  1. FileNotFoundError: Could not find module xxx\Library\bin\geos_c.dl paddle安装采坑

    FileNotFoundError: Could not find module xxx\xxx\Library\bin\geos_c.dll' 这个错误很简单,conda install shape ...

  2. FileNotFoundError: Could not find module xxx libbanded5x.UGR6EUQPIWHQH7SL62IWIXB5545VDNQZ.gfortran-w

    #FileNotFoundError: Could not find module xxx/libbanded5x.UGR6EUQPIWHQH7SL62IWIXB5545VDNQZ.gfortran- ...

  3. FileNotFoundError: Could not find module ‘C:\Users\Yolanda\anaconda3\envs\python38\lib\site-packages

    问题: FileNotFoundError: Could not find module 'C:\Users\Yolanda\anaconda3\envs\python38\lib\site-pack ...

  4. pycharm中dgl安装出错(FileNotFoundError: Could not find module ‘E:\XXXX\XXXX\lib\site-packages\dgl\dgl.dl)

    dgl安装报错的解决方案--必解决! 1.论文要求版本+安装 2.所遇的所有问题 3.最终解决办法 ) 1.论文要求版本+安装 (1)论文代码要求: dgl的版本应为:dgl-cuda10.1=0.4 ...

  5. [Anaconda] 不需要重装环境,解决引用scipy包时Could not find module ‘...gfortran-win_amd64.dll‘问题

    问题描述: >>> import scipy FileNotFoundError: Could not find module 'libbanded5x.CBCBXIAYFUWOYC ...

  6. 无法定位程序输入点 xxxxx 于动态链接库 xxx.dll 上

    今天编译一个程序,发现Debug版本完全正常编译运行,但是一到Release就出现问题: 1.无法定位程序输入点 xxxx 于动态链接库 xxx.dll 上: 2.我再去检查下xxx.dll ,乍一看 ...

  7. pl/sql dev连接报错Access violation at address 67614F04 in module 'oranls11.dll'

    这个可能是因为你的客户端安装了多个Oracle 软件导致, 还有一种可能是本地Oracle版本过低,连接的Oracle数据库版本过高. 这里排除第二种可能. 解决办法:  打开你的PL/SQL Dev ...

  8. idea报错解决:Cannot start compilation: the output path is not specified for module “XXX“.

    IDEA错误:Cannot start compilation: the output path is not specified for module "XXX". 错误是发生在 ...

  9. npm:can not find module 'xxx'

    引自:http://blog.csdn.net/sinat_33312523/article/details/76797501 我们在运行npm run dev时,时常会遇到not found mod ...

最新文章

  1. 实用网站和在线工具推荐
  2. 鸿蒙系统支持最低处理器,这四款华为手机可升级到鸿蒙系统,老机型居多,最低只需千元!...
  3. 工具类的方法怎么引用_Hutool中那些常用的工具类和方法
  4. 支付宝人脸数据被共享?李开复道歉
  5. Fusion Upload组件 对接 阿里云OSS/七牛/又拍
  6. 06-R环境中的工作空间(workspace)概念
  7. 数据结构 - 字符串的模式匹配
  8. FISCO BCOS Webase front 智能合约 参数不合适
  9. python 屏幕代码雨效果(已验证)
  10. 自定mvc之新增,下架以及上架
  11. 实测PD18W/30W/65W充电器给iPhone xs充电快慢对比
  12. 读《极简》《微习惯》
  13. Deep Multi-View Spatial-Temporal Network for Taxi Demand Prediction
  14. 上海第二工业大学计算机应用技术专业,2019上海第二工业大学专业排名
  15. 四川地区办理增值电信经营许可证
  16. 关于司南导航全系概况模糊学习记录
  17. 算法快学笔记(十三):狄克斯特拉(Dijkstra)算法原理与实现
  18. 西门子s7-200PLC编程软件
  19. 脚本计算机术语,谁能给我简单明了的解释一下脚本是什么意思?
  20. 学术会议日常英语交流_有效的日常会议的3个问题

热门文章

  1. angular中的依赖注入
  2. 办公室计算机网络使用情况,企事业单位办公网络的现状及解决方案.doc
  3. java注解式开发_JAVA语言之Spring MVC注解式开发使用详解[Java代码]
  4. es6对象属性的遍历
  5. 《漫画算法2》源码整理-5 二维数组螺旋输出
  6. Java 面试知识点解析(七)——Web篇
  7. java list循环中删除元素的坑
  8. 使用 Binlog 和 Canal 从 MySQL 抽取数据
  9. Spring - Java/J2EE Application Framework 应用框架
  10. 文献管理软件Mendeley的缺陷 (更正,增补)