[Tutor] Asking for help with installation of pyttsx (text to speech)

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Feb 12 08:23:49 CET 2015


On 11/02/2015 03:37, Andrew K. wrote:
> To whom it may concern.
>
> I started the project CrocToy, a complex robotic toy in a form of a crocodile. I would like to use Python as programming platform. Having limited programming skills, I have troubles with software development. Particularly, right now I try to learn how to use pyttsx (text to speech). I would be very grateful for any help with installation and programming.
> Thank you very much,
> Andrew
> PS
> I would be very thankful if any mature Python programmer would like to participate in my project.
> Thank you,
> Andrew
>

As Alan has already said this very much depends on your versions of 
Python and OS.

If you're on any *nix type system the simplest mechanism is simply

pip install pyttsx

More on pip here https://pip.pypa.io/en/latest/installing.html

On Windows you've two options that I'm aware of.

Either download pyttsx-1.1-py2-none-any.whl from 
http://www.lfd.uci.edu/~gohlke/pythonlibs/ and install it using pip. 
This is Python 2 specific.

Or for Python 3.4 install Visual Studio Express 2010 and again use:-

pip install pyttsx

I would *NOT* recommend the latter approach for you as a beginner, but 
then there is nothing to stop you trying.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list