报错内容:
Traceback (most recent call last):
File “E:\Program Files\DevelProgram\Python\envs\py3_venvs\lib\site-packages\pyttsx3_init_.py”, line 44, in init
eng = _activeEngines[driverName]
File “E:\Program Files\DevelProgram\Python\envs\py3_venvs\lib\weakref.py”, line 137, in getitem
o = self.datakey
KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “E:\Program Files\DevelProgram\Python\envs\py3_venvs\lib\site-packages\win32com\client\dynamic.py”, line 89, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221005, ‘无效的类字符串’, None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “E:/cyfAI/pro_ject/python/speech/speech.py”, line 4, in
engine &