how can I install win32con?

1.2k views Asked by At

I'm trying to use winshell to generate a url shortcut file, so I did: pip installed winshell

However on line 30 of the winshell.py file it requires the module win32con : my understanding is that win32con is apart of pywin32, which is already installed.

The specific error I get when trying to import win32con is:

(base) C:\Users\deana>pip install win32con
ERROR: Could not find a version that satisfies the requirement win32con (from versions: none)
ERROR: No matching distribution found for win32con

I've found a few references online and on stack exchange but nothing. running windows 11.

1

There are 1 answers

2
yxzlwz On
pip install pywin32

Happy to help.