Skip to content
Advertisement

PyPi cannot find distribution for package “winrt”, when it is clearly available

I’ve been trying to install the package winrt using pip, but whenever I try to I receive this error: (view image below) enter image description here

even though it clearly exists (https://pypi.org/project/winrt/). How do I solve this? I’ve tried using python -m pip install winrt even though that’s the same thing, I’ve also updated pip to 22.1.1. Anything else I can try? Thanks

EDIT: My PC meets the specified requirements:

  1. Python 3.10.4
  2. Windows 10 21H2 19044.1706
  3. pip 21.1.1

Advertisement

Answer

The latest version winrt 1.0.21033.1 provides binary wheels for Python 3.7, 3.8 and 3.9 but not 3.10. Either downgrade your Python or compile from sources.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement