mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

Cannot install pywin32! #2191

Closed ideepthinv closed 4 months ago

ideepthinv commented 4 months ago

Note that issues in this repository are only for bugs or feature requests in the pywin32.

If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.

For all bugs, please provide the following information.

ideepthinv commented 4 months ago

RuntimeError

Unable to find installation candidates for pywin32 (306)

at /usr/local/lib/python3.10/site-packages/poetry/installation/chooser.py:73 in choose_for 69│ 70│ links.append(link) 71│ 72│ if not links: → 73│ raise RuntimeError(f"Unable to find installation candidates for {package}") 74│ 75│ # Get the best link 76│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 77│

Cannot install pywin32.

mhammond commented 4 months ago

pywin32 only works on Windows.

ideepthinv commented 4 months ago

What is an alternate lib I can use?

vernondcole commented 3 months ago

There is no alternate, as such. Any package which attempts to import pywin32 on a non-Windows system is in error.