Pywin32 And Pyttsx Error, Trouble Combining The Two
i have pywin32 in my site packages and my pyttsx is in a separate folder. Is this the reason why i am getting the following error? import win32api, sys, os ImportError: DLL load fa
Solution 1:
The problem was that the file
pywintypes27.dll
was not in the right directory. It had to be in
'C:\Windows\System32'
@CristiFati
Solution 2:
Use the pyttsx3 module instead . It supports both python3 and python2.
To install:
pip install pyttsx3
.
It automatically installs those win32 and other dependencies.
Post a Comment for "Pywin32 And Pyttsx Error, Trouble Combining The Two"