栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

OSError: [WinError 126] module could not be found(OSError: [WinError 126] 找不到指定的模块)

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

OSError: [WinError 126] module could not be found(OSError: [WinError 126] 找不到指定的模块)

  File "G:pythonlibctypes__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)

在这一行代码处找不到指定的模块,之后我检查了self._name的所在的文件就在那,是存在的:

E:codenlpparser>dir E:venvspt7_envlibsite-packagesscipy.libslibbanded5x.TWOTZJW4ZMGZNASAXJJ6QRUI2EXNFIN4.gfortran-win_amd64.dll
 驱动器 E 中的卷是 E
 卷的序列号是 360E-893D

 E:venvspt7_envlibsite-packagesscipy.libs 的目录

23/06/2020  上午 02:36           800,133 libbanded5x.TWOTZJW4ZMGZNASAXJJ6QRUI2EXNFIN4.gfortran-win_amd64.dll
               1 个文件        800,133 字节
               0 个目录 87,502,778,368 可用字节

I got to know that such error could be thrown when the file dependencies are not satisfied or not found. So to check the dependencies you go first to Visual Studio prompt and then navigate to the folder where libbanded5x.TWOTZJW4ZMGZNASAXJJ6QRUI2EXNFIN4.gfortran-win_amd64.dll exists and run the following command

dumpbin /dependents libbanded5x.TWOTZJW4ZMGZNASAXJJ6QRUI2EXNFIN4.gfortran-win_amd64.dll

and it will show you a list of required files.

再用everything检查一下那些 required files是否都依次存在。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/293607.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号