Sigma 7 Sigma 7 - 10 months ago 150
Python Question

pyttsx.init() not working in windows

i tried to use the python 2.7 library pyttsx on windows, pip installation was fine but when i try

import pyttsx
engine = pyttsx.init()

it breaks and gives an error. importing doesn't give an error, but the pyttsx.init() does.
I'm using windows if anyone can fix it or knows another text to speech python library that would be great :D

Answer Source

yes, it's fine... it works perfectly