what could be the reason for that message ?It happend when i tried to change assistant voice. I tried on macbook
Traceback (most recent call last):
File "/Users/rahuldatta/Documents/Assistance/Hjarvis.py", line 6, in <module>
voices = engine.getProperty('voices')
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyttsx3/engine.py", line 146, in getProperty
return self.proxy.getProperty(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyttsx3/driver.py", line 173, in getProperty
return self._driver.getProperty(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyttsx3/drivers/nsss.py", line 69, in getProperty
return [self._toVoice(NSSpeechSynthesizer.attributesForVoice_(v))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyttsx3/drivers/nsss.py", line 69, in <listcomp>
return [self._toVoice(NSSpeechSynthesizer.attributesForVoice_(v))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyttsx3/drivers/nsss.py", line 64, in _toVoice
attr['VoiceAge'])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/objc/_convenience_mapping.py", line 18, in __getitem__objectForKey_
return container_unwrap(res, KeyError, key)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/objc/_convenience.py", line 134, in container_unwrap
raise exc_type(*exc_args)
KeyError: 'VoiceAge'
I tried to change the voice of virtual assistant but it showed me these thing and i am expecting to be able to change the voice of vitual assistant.