wolfmanstout / screen-ocr

Easily perform OCR on portions of the screen, choosing from a selection of backends.
Apache License 2.0
37 stars 7 forks source link

"No module named 'winrt'" regardless of backend #7

Closed tonydero closed 2 years ago

tonydero commented 2 years ago

Attempting to use this on Linux. I've tried installing it both in poetry 3.9.10 and 3.10.2 environments and my user system python (3.10.4) using either the tesseract or easyocr backends and whenever I try to run python -m screen_ocr to test if it is working, I get the No module named 'winrt' error. Apologies if this is a simple mistake on my part, but I'm at a loss right now.

wolfmanstout commented 2 years ago

Thank you for flagging this! I just pushed out a fix, along with a whole bunch of other improvements I've made since the last release. Let me know if you run into any more problems.