📅  最后修改于: 2022-03-11 14:46:42.287000             🧑  作者: Mango
#pip3 install pyttsx3
#apt-get install alsa-utils
import pyttsx3, time
engine = pyttsx3.init()
engine.say("Hi, I am text to speach")
engine.runAndWait()