pip install pyttsx3 import pyttsx3 friend = pyttsx3.init() friend.say("you are very smart") friend.runandwait()