i .
i .

Reputation: 485

ImportError: No module named win32com.client (I'm sure I have pywin32 installed)

This may seem like a repost but none of the other answers for this issue have helped. I am absolutely sure I have pywin32 installed. I first installed it through conda, then when that didn't work I did a pip install of pypiwin32, also to my conda environment. No matter what I try, it always dies on the very first line:

from win32com.client import Dispatch

and throws:

ImportError: No module named win32com.client

What could the problem be?

Upvotes: 1

Views: 8004

Answers (1)

Nastaran Sf
Nastaran Sf

Reputation: 41

Which command did you use for the library installation through Conda? try this command in your terminal and then after a while press the key[y]:

conda install -c anaconda pywin32

Upvotes: 1

Related Questions