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

Unicode is not definded #22

Open
HolyLarZarus opened this issue Mar 3, 2024 · 0 comments
Open

Unicode is not definded #22

HolyLarZarus opened this issue Mar 3, 2024 · 0 comments

Comments

@HolyLarZarus
Copy link

Traceback (most recent call last):
File "D:\Anaconda\envs\jarvis\lib\site-packages\pyttsx3_init_.py", line 20, in init
eng = _activeEngines[driverName]
File "D:\Anaconda\envs\jarvis\lib\weakref.py", line 131, in getitem
o = self.datakey
KeyError: 'sapi5'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 1, in
from Jarvis import JarvisAssistant
File "C:\Users\Privat\Documents\J.A.R.V.I.S\JARVIS\Jarvis_init_.py", line 18, in
engine = pyttsx3.init('sapi5')
File "D:\Anaconda\envs\jarvis\lib\site-packages\pyttsx3_init_.py", line 22, in init
eng = Engine(driverName, debug)
File "D:\Anaconda\envs\jarvis\lib\site-packages\pyttsx3\engine.py", line 30, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "D:\Anaconda\envs\jarvis\lib\site-packages\pyttsx3\driver.py", line 50, in init
self.module = importlib.import_module(name)
File "D:\Anaconda\envs\jarvis\lib\importlib_init
.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "D:\Anaconda\envs\jarvis\lib\site-packages\pyttsx3\drivers\sapi5.py", line 1, in
import comtypes.client # Importing comtypes.client will make the gen subpackage
File "D:\Anaconda\envs\jarvis\lib\site-packages\comtypes_init
.py", line 1026, in
class helpstring(unicode):
NameError: name 'unicode' is not defined

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