I want to use my raspberry pi to announce some text. i have installed pyttsx but not able to use it.i am using python2.7
my program:
import pyttsx
en
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
Try this one:: Run on Ubuntu/Linux Terminal,
1.pip install pyttsx3
,
2.sudo apt install libespeak1
You must have successfully installed.
If you're using Ubuntu, Use this
sudo apt install libespeak1