Jose Isaias Cabrera via Cygwin writes:

>   File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 
> 128, in <module>
>     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.

First thing to find out if it's truly broken, or just not known to
work.

With a _safe_ test case, just try editting the code to allow Cygwin,
e.g. on line 121 of keyboard/__init__.py:

  if _platform.system() in ['Windows','CYGWIN_NT-10.0-19044']:

If that doesn't work, try a similar edit on line 123.

One way or the other, you should find out what the _real_ problem is.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to