Ashutosh-kv / JARVIS

133 stars 237 forks source link

Error message #8

Open ghost opened 4 years ago

ghost commented 4 years ago

Traceback (most recent call last): File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pyttsx3__init__.py", line 20, in init eng = _activeEngines[driverName] File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1520.0_x64qbz5n2kfra8p0\lib\weakref.py", line 137, in getitem__ o = self.data[key]() KeyError: 'sapi5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "lol.py", line 12, in engine = pyttsx3.init('sapi5') File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pyttsx3__init.py", line 22, in init eng = Engine(driverName, debug) File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pyttsx3\engine.py", line 30, in init self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug) File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pyttsx3\driver.py", line 50, in init self._module = importlib.import_module(name) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1520.0_x64qbz5n2kfra8p0\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pyttsx3\drivers\sapi5.py", line 3, in import win32com.client File "C:\Users\Oisin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\win32com__init__.py", line 5, in import win32api, sys, os ImportError: DLL load failed: The specified module could not be found.

varunsurya43 commented 4 years ago

Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyttsx3__init__.py", line 20, in init eng = _activeEngines[driverName] File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\weakref.py", line 131, in getitem o = self.data[key]() KeyError: 'sapi5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:/Users/Admin/Desktop/jarvis.py", line 12, in engine = pyttsx3.init('sapi5') File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyttsx3__init.py", line 22, in init eng = Engine(driverName, debug) File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyttsx3\engine.py", line 30, in init self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug) File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyttsx3\driver.py", line 50, in init self._module = importlib.import_module(name) File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\importlib\init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyttsx3\drivers\sapi5.py", line 10, in import pythoncom ModuleNotFoundError: No module named 'pythoncom'