Text to spech python, Help
EricBromstead (15)

I Tried this code here:

import win32com.client as wincl
speak = wincl.Dispatch("SAPI.SpVoice")
speak.Speak("Hello World")

but I get the error:

Repl.it: package installation failure

Traceback (most recent call last):
File "python", line 1, in <module>
ModuleNotFoundError: No module named 'win32com'

This error seems to be happening in even the other text to speech repls such as https://repl.it/@Kingsley005/Python-Text-to-Speech

Any help is appreciated!


I Also Tried the Watson TTS thing too but that doesn't work either going to check out @basicer

You are viewing a single comment. View All
theangryepicbanana (1534)

I think that you misspelled the package name. When I tried it, Pip told me that it could find a package named "win32com", so you may want to check that.