You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/init.pyc in init(driverName, debug)
37 eng = _activeEngines[driverName]
38 except KeyError:
---> 39 eng = Engine(driverName, debug)
40 _activeEngines[driverName] = eng
41 return eng
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/engine.pyc in init(self, driverName, debug)
43 @type debug: bool
44 '''
---> 45 self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
46 # initialize other vars
47 self._connects = {}
speech_engine = pyttsx.init()
in Mac OS X renders the following error:`AttributeError Traceback (most recent call last)
in ()
----> 1 speech_engine = pyttsx.init()
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/init.pyc in init(driverName, debug)
37 eng = _activeEngines[driverName]
38 except KeyError:
---> 39 eng = Engine(driverName, debug)
40 _activeEngines[driverName] = eng
41 return eng
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/engine.pyc in init(self, driverName, debug)
43 @type debug: bool
44 '''
---> 45 self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
46 # initialize other vars
47 self._connects = {}
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/driver.pyc in init(self, engine, driverName, debug)
64 self._module = import(name, globals(), locals(), [driverName])
65 # build driver instance
---> 66 self._driver = self._module.buildDriver(weakref.proxy(self))
67 # initialize refs
68 self._engine = engine
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/drivers/nsss.pyc in buildDriver(proxy)
22
23 def buildDriver(proxy):
---> 24 return NSSpeechDriver.alloc().initWithProxy(proxy)
25
26 class NSSpeechDriver(NSObject):
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx/drivers/nsss.pyc in initWithProxy(self, proxy)
26 class NSSpeechDriver(NSObject):
27 def initWithProxy(self, proxy):
---> 28 self = super(NSSpeechDriver, self).init()
29 if self:
30 self._proxy = proxy
AttributeError: 'super' object has no attribute 'init'`
Can seek some help please?
The text was updated successfully, but these errors were encountered: