title: Python Text to Speech in Macintosh
body: <p>Are there any libraries in Python that does or allows  Text To Speech Conversion using Mac Lion's built in text to speech engine?
  I did google but most are windows based. I tried pyttx.
  I tried to run </p>
  
  <pre><code>import pyttsx
  engine = pyttsx.init()
  engine.say('Sally sells seashells by the seashore.')
  engine.say('The quick brown fox jumped over the lazy dog.')
  engine.runAndWait()
  </code></pre>
  
  <p>But I get these errors</p>
  
  <pre><code>File "/Users/manabchetia/Documents/Codes/Speech.py", line 2, in &lt;module&gt;
      engine = pyttsx.init()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx-1.0.egg/pyttsx/__init__.py", line 39, in init
      eng = Engine(driverName, debug)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx-1.0.egg/pyttsx/engine.py", line 45, in __init__
      self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx-1.0.egg/pyttsx/driver.py", line 64, in __init__
      self._module = __import__(name, globals(), locals(), [driverName])
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyttsx-1.0.egg/pyttsx/drivers/nsss.py", line 18, in &lt;module&gt;
  ImportError: No module named Foundation
  </code></pre>
  
  <p>How do I solve these errors?</p>