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是否都依次存在。


![OSError: [WinError 126] module could not be found(OSError: [WinError 126] 找不到指定的模块) OSError: [WinError 126] module could not be found(OSError: [WinError 126] 找不到指定的模块)](http://www.mshxw.com/aiimages/31/293607.png)
