Установил модули pywin32 pypiwin32 и pyttsx3 именно в таком порядке, но при запуске получаю ошибку, в чём я не прав?
Версия Python 3.6
Traceback (most recent call last):
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\__init__.py"
, line 20, in init
eng = _activeEngines[driverName]
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\weakref.py", line 131, in __getite
m__
o = self.data[key]()
KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\win32com\client\dyna
mic.py", line 89, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, 'Операция недоступна', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Python\golos.py", line 2, in <module>
engine = pyttsx3.init()
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\__init__.py"
, line 22, in init
eng = Engine(driverName, debug)
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\engine.py",
line 30, in __init__
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\driver.py",
line 52, in __init__
self._driver = self._module.buildDriver(weakref.proxy(self))
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\drivers\sapi
5.py", line 23, in buildDriver
return SAPI5Driver(proxy)
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\pyttsx3\drivers\sapi
5.py", line 28, in __init__
self._tts = win32com.client.Dispatch('SAPI.SPVoice')
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\win32com\client\__in
it__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\win32com\client\dyna
mic.py", line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Users\8440p\AppData\Local\Programs\Python\Python36\lib\site-packages\win32com\client\dyna
mic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147024770, 'Не найден указанный модуль.', None, None)