谁能告诉我如何解决这个错误 nomodulened pyttsx3.drivers.sapi full error here down

Can anyone tell me how to fix this error nomodulenaned pyttsx3.drivers.sapi full error here down

所以我在这里导入了 pyttsx3 并希望我的 ai 说话,但它给了我一个完整的错误 https://drive.google.com/file/d/12fa4KdSQ6JiEYjJHljc3JuLiFW-eYtKD/view?usp=sharing

import pyttsx3

Assistant = pyttsx3.init('sapi.5')
voices = Assistant.getProperty('voices')
print(voices)
Assistant.setProperty('voices',voices(1).id)
def Speak(audio):
    print("   ")
    Assistant.say(audio)
    print("   ")
    Assistant.runAndWait()


Speak('Hello sir, I am Y.P.A')

你在初始化 Google 助理时输入错误

Assistant = pyttsx3.init('sapi5')