pyTTS broken : (

Fredrik Lundh fredrik at pythonware.com
Fri Dec 21 14:40:49 EST 2007


Bell, Kevin wrote:

> Importing pyTTS works, but then it bombs…  any ideas?  This worked 
> without a hitch on my old computer!
> 
>> >> import pyTTS
> 
>> >> tts = pyTTS.Create()
> 
> Traceback (most recent call last):
>   File "C:\<string>", line 1, in ?
>   File "c:\Python24\Lib\site-packages\pyTTS\__init__.py", line 28, in Create
>     raise ValueError('"%s" not supported' % api)
> 
> ValueError: "SAPI" not supported

SAPI is Microsoft's Speech API.  Have you installed the SAPI core 
libraries on your new computer?

    http://www.mindtrove.info/articles/pytts.html#prerequisites

If you're planning to redistribute PyTTS applications, see:

    http://support.microsoft.com/kb/320207

</F>




More information about the Python-list mailing list