OSError: [WinError 126] 找不到指定的模組。

大森林home發表於2017-11-10
D:\software\python35_64\python.exe D:/projects/CNN_sentence_tensorflow-master/xunfei_use.py
Traceback (most recent call last):
  File "D:/projects/CNN_sentence_tensorflow-master/xunfei_use.py", line 6, in <module>
    dll = windll.LoadLibrary("msc_x64.dll")
  File "D:\software\python35_64\lib\ctypes\__init__.py", line 425, in LoadLibrary
    return self._dlltype(name)
  File "D:\software\python35_64\lib\ctypes\__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)

OSError: [WinError 126] 找不到指定的模組。



解決方案:

不是缺失python包的問題,而是提示中的msc_x64.dll的這個檔案找不到,補上即可。

相關文章