Closed willwade closed 2 years ago
Looks like WinRT is not yet supported on 3.10. You'll have to use 3.9: https://pypi.org/project/winrt/#files
Hopefully that's it. Not sure why the log mentions earlier versions of my package ...
There's also https://github.com/pywinrt/python-winsdk/ which aims to replace it. Sadly I couldn't make it work tho. Might still be interesting since it seems like winrt isn't maintained anymore.
Unfortunately winsdk isn't working for me either (tested on Python 3.9). I tried changing the imports from winrt to winsdk and it quietly crashes Python on this line (before OCR has even been run): https://github.com/wolfmanstout/screen-ocr/blob/e5132770c1d40e85c6edbd24775ba1bf69b8a2db/screen_ocr/_winrt.py#L39
Yeah had similar results. The datawriter just silently crashed the process :/
FYI I updated the package to use winsdk now that it is working.
So I'm installing and getting this error:
Its windows 10. Win 64. Is there anything else I should install?