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

ImportErrror: No module named Foundation #57

Open
Elliot-Potts opened this issue May 30, 2017 · 0 comments
Open

ImportErrror: No module named Foundation #57

Elliot-Potts opened this issue May 30, 2017 · 0 comments

Comments

@Elliot-Potts
Copy link

-- 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.

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