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

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
    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的这个文件找不到,补上即可。

你可能感兴趣的:(音频)