I tried pyttsx on a Mac running 10.5.8:

% ls
MANIFEST.in     README          pyttsx          setup.cfg
PKG-INFO        docs            pyttsx.egg-info setup.py
% python setup.py build
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    from ez_setup import use_setuptools
ImportError: No module named ez_setup
%

So I opened up setup.py, and removed the two lines that read:

from ez_setup import use_setuptools
use_setuptools()

Then, "python setup.py build", and "python setup.py install".

Then:

% python
Python 2.5.1 (r251:54863, Jun 17 2009, 20:37:34) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyttsx
>>> eng = pyttsx.init()
>>> eng.say("hello hello hello")
>>> eng.runAndWait()
# and "hello hello hello" comes out of the speakers
>>>

Seems to work.  No additional downloads needed.

Bill
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to