Уведомления

Группа в Telegram: @pythonsu

#1 Май 28, 2019 01:02:05

NoobOnPython
Зарегистрирован: 2019-05-28
Сообщения: 1
Репутация: +  0  -
Профиль   Отправить e-mail  

Ошибка pyttsx3

Пасаны кто поможет нубу? У меня вот ошибочка, только тапком не бейте. Traceback (most recent call last):
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\__init__.py”, line 20, in init
eng = _activeEngines
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\weakref.py”, line 137, in __getitem__
o = self.data()
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\win32com\client\dynamic.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 “test.py”, line 2, in <module>
engine = pyttsx3.init()
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\__init__.py”, line 22, in init
eng = Engine(driverName, debug)
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\engine.py”, line 30, in __init__
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\driver.py”, line 52, in __init__
self._driver = self._module.buildDriver(weakref.proxy(self))
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\drivers\sapi5.py”, line 23, in buildDriver
return SAPI5Driver(proxy)
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyttsx3\drivers\sapi5.py”, line 28, in __init__
self._tts = win32com.client.Dispatch('SAPI.SPVoice')
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\win32com\client\__init__.py”, line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\win32com\client\dynamic.py”, line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File “C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\win32com\client\dynamic.py”, line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147024770, ‘Не найден указанный модуль.’, None, None)

Офлайн

Board footer

Модераторировать

Powered by DjangoBB

Lo-Fi Version