OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
Marco Atzeri
marco.atzeri@gmail.com
Mon Feb 20 18:58:23 GMT 2023
On 20.02.2023 19:04, Jose Isaias Cabrera via Cygwin wrote:
>
> Greetings.
>
> Python 3 apparently does not support the python keyboard library in Cygwin:
>
> $ python3
> Python 3.9.10 (main, Jan 20 2022, 21:37:52)
> [GCC 11.2.0] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import keyboard
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 128, in <module>
^^^^
it is your own build
> raise OSError("Unsupported platform '{}'".format(_platform.system()))
> OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
>>>>
>
> Any ideas on how I can make this work? Thanks.
>
> josé
>
I assume you are installing
https://pypi.org/project/keyboard/
and it seems requires dedicated HDW interfaces
"Works with Windows and Linux (requires sudo), with experimental OS X
support"
So you are on your own
Regards
Marco
More information about the Cygwin
mailing list