FileNotFoundError: Could not find module ‘XXX‘ (or one of its dependencies) 解决办法
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies
·
调用DLL库时,有时会报如下错误:
FileNotFoundError: Could not find module 'XXX' (or one of its dependencies). Try using the full path with constructor syntax.
本文提供一种解决办法:
1 获取DLL依赖库
利用VS下的dumpbin.exe文件查看,命令行:dumpbin.exe /dependents xxx.dll。
不会的同学可以参考下面的博文,写的挺好的:
https://blog.csdn.net/weixin_39766005/article/details/127449747
2 在C:\Windows\System32下查找是否拥有上面操作所列的库,如果没有,想办法找到这些库然后放入到C:\Windows\System32。
运行动态库,问题应该就解决掉了!
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:3 个月前 )
1997a400 - 4 年前
2f423539 - 4 年前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐




所有评论(0)