密码是-engine = pyttsx3.init()engine.setProperty('voice', voices[0].id) #changing index changes voices but ony 0 and 1 are working hereengine.runAndWait()
只
因此,我想使用mp3将文本转换为pyttsx3文件,我想为该文件应用语音,但我得到了以下错误: File "c:\Users\user\Desktop\Informatik\Praktik\Projekte\Python\productivity\wikipedia_webscraper\main.py", line 32, in <module>TypeError: 'modu