Pyttsx not working in ubuntu

sir i followed every step as shown in the procedure but still its showing module not found in import pyttsx

U have to install Linux voice library like

sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo apt-get install libespeak1
pip3 install pyaudio
pip3 install pyttsx3

you need to install sudo apt get update && sudo apt-get installed espeak

1 Like

Hi @nk05201999,

Please share the screenshot of the error.

Hi @nk05201999,

Run the below commands then install pyttsx3 library.

sudo apt-get update 

Then run the below commands.

sudo apt-get install python3-setuptools
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev 
sudo apt-get update 

Do let me know in case you need further assitance.