Importerror: No Module Named Win32Com.Client

No module named Win32com.client error when using the pyttsx package

I had the same problem. I installed pywin32 from here (download the build as per your preference). I downloaded for my python version (32 bit).

After installing I was able to import win32com.client

import win32com.client

ModuleNotFoundError: No module named 'win32com'

I have found out. The compiler of python installed in the MobaXterm doesn't have the pywin32 module.

ModuleNotFoundError: No module named 'pywin32'

There is no module by name pywin32 in pywin32 package. You need to import the win32com.client in your code.
import win32com.client as win32



Related Topics



Leave a reply



Submit