Skip to content Skip to sidebar Skip to footer

Installing The Pypiwin32 Module

I get this error when I run a program: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent

Solution 1:

The problem is that pypiwin32 depends on pywin32, and, as the README says:

Note that PIP support is experimental.

Even if pip installs pywin32, you still have to manually run the post-install script with elevated privileges. So, rather than debugging why the experimental pip support isn't working for you, it's probably better to manually download the appropriate installer from the Releases page and run it.

Once that completes, pip should know that you now have pywin32 version 223 installed, so pip install pypiwin32 should hopefully work.

You might want to look through the pywin32 issues to see if anyone has reported this problem (it may only be mentioned in some issue about completing pip support, not a separate one) and, if not, file a bug report. That way, the next time someone wants to use pypiwin32, they may not even need this answer. (Since Mark Hammond, the main author of pywin32, is also listed as a maintainer of pypiwin32, I'm guessing he already knows about it—but it can't hurt to check.)

Post a Comment for "Installing The Pypiwin32 Module"