Looking at the code for the NSSpeech driver this is because the code uses the regular super instead of the PyObjC one. That often works, but can cause problems, see https://pyobjc.readthedocs.io/en/latest/core/super.html for more details.
To fix this add from objc import super to the imports in pyttx3.drivers.nsss.
A user on the python forum mentioned an error message related to
super
when usingpyttx3
: https://discuss.python.org/t/attributeerror-super-object-has-no-attribute-init/33303Looking at the code for the
NSSpeech
driver this is because the code uses the regular super instead of the PyObjC one. That often works, but can cause problems, see https://pyobjc.readthedocs.io/en/latest/core/super.html for more details.To fix this add
from objc import super
to the imports inpyttx3.drivers.nsss
.