Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error en Paquete #3

Open
maicolffsa opened this issue Dec 27, 2022 · 0 comments
Open

Error en Paquete #3

maicolffsa opened this issue Dec 27, 2022 · 0 comments

Comments

@maicolffsa
Copy link

Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pyttsx3/init.py", line 20, in init
eng = _activeEngines[driverName]
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/weakref.py", line 137, in getitem
o = self.datakey
KeyError: 'sapi5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/maicolffsa/Downloads/JARVIS-AI-ASSISTANT-main/jarvis.py", line 14, in
engine = pyttsx3.init('sapi5')
File "/opt/homebrew/lib/python3.10/site-packages/pyttsx3/init.py", line 22, in init
eng = Engine(driverName, debug)
File "/opt/homebrew/lib/python3.10/site-packages/pyttsx3/engine.py", line 30, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "/opt/homebrew/lib/python3.10/site-packages/pyttsx3/driver.py", line 50, in init
self._module = importlib.import_module(name)
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/homebrew/lib/python3.10/site-packages/pyttsx3/drivers/sapi5.py", line 1, in
import comtypes.client # Importing comtypes.client will make the gen subpackage
File "/opt/homebrew/lib/python3.10/site-packages/comtypes/init.py", line 28, in
from _ctypes import COMError
ImportError: cannot import name 'COMError' from '_ctypes' (/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_ctypes.cpython-310-darwin.so)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant