python text to speech using pyttsx python text to speech using pyttsx python python

python text to speech using pyttsx


It's because you don't have espeak installed on your system.That's why it is giving error

libespeak.so.1 error: no such file or directory found.

Try to install espeak using:

sudo apt-get update && sudo apt-get install espeak


If you're using Ubuntu, Use this

sudo apt install libespeak1


Try this one::Run on Ubuntu/Linux Terminal,

1.pip install pyttsx3 ,

2.sudo apt install libespeak1

You must have successfully installed.