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
-- I have read through all the other issues regarding this, I couldn't seem to find a solution.
My code:
`import pyttsx
engine = pyttsx.init()
engine.say("Hello")
engine.runAndWait()`
The error:
Traceback (most recent call last):
File "/Users/Elliot/Desktop/Python/speechEngineTest.py", line 3, in
engine = pyttsx.init()
File "/usr/local/lib/python2.7/site-packages/pyttsx/init.py", line 39, in init
eng = Engine(driverName, debug)
File "/usr/local/lib/python2.7/site-packages/pyttsx/engine.py", line 45, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "/usr/local/lib/python2.7/site-packages/pyttsx/driver.py", line 64, in init
self._module = import(name, globals(), locals(), [driverName])
File "/usr/local/lib/python2.7/site-packages/pyttsx/drivers/nsss.py", line 18, in
from Foundation import *
ImportError: No module named Foundation
Any help regarding this issue would be appreciated. I love this module, and have used it before. After re-installing OS X, I get this error. Again, any help would be appreciated, many thanks.
The text was updated successfully, but these errors were encountered:
-- I have read through all the other issues regarding this, I couldn't seem to find a solution.
My code:
`import pyttsx
engine = pyttsx.init()
engine.say("Hello")
engine.runAndWait()`
The error:
Traceback (most recent call last):
File "/Users/Elliot/Desktop/Python/speechEngineTest.py", line 3, in
engine = pyttsx.init()
File "/usr/local/lib/python2.7/site-packages/pyttsx/init.py", line 39, in init
eng = Engine(driverName, debug)
File "/usr/local/lib/python2.7/site-packages/pyttsx/engine.py", line 45, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "/usr/local/lib/python2.7/site-packages/pyttsx/driver.py", line 64, in init
self._module = import(name, globals(), locals(), [driverName])
File "/usr/local/lib/python2.7/site-packages/pyttsx/drivers/nsss.py", line 18, in
from Foundation import *
ImportError: No module named Foundation
Any help regarding this issue would be appreciated. I love this module, and have used it before. After re-installing OS X, I get this error. Again, any help would be appreciated, many thanks.
The text was updated successfully, but these errors were encountered: