How to Install pyttsx 3 for Python 3

How to Install pyttsx 3 in Windows

Install pyttsx 3: It is a Python Programming Language Text to Speech Synthesizer. pyttsx 3 does not come together with Python installation. Here I will show how to install it. The steps are similar to all operating systems as it can be installed using pip tool.

You can follow the video link shown below or follow the steps given beneath it. It is my first video tutorial I ever tried making. Please do subscribe and click on the bell icon.

Installation Command

It can be installed using pip tool.

For Windows, run the following Command.

pip install pywin32 pypiwin32 pyttsx3

For Linux or OS X based computers, run the following command.

$sudo pip install pyttsx3

 

Test Installation

Run the following program. It synthesizes the ‘Hello World’ speech, the installation is successful.

import os
import sys
import pyttsx3

engine = pyttsx3.init()
engine.say('hello world ')
engine.runAndWait()

 

%d bloggers like this: