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.

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()

Sonam Dargay

Kuzu Zangpo la! I am Sonam Dargay, a student in College of Science and Technology affiliated to The Royal University of Bhutan. I am an enthusiast student studying bachelors degree in information technology engineering.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: