Gaby Paz
0
Q:

pyttsx3 NameError: name 'voices' is not defined

engine = pyttsx3.init() # Object Creation

voice = engine.setProperty('voice', voices[0].id)

engine.say("I will speak this text")
engine.runAndWait()
0

New to Communities?

Join the community