public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Henry S. Thompson" <ht@inf.ed.ac.uk>
To: Jose Isaias Cabrera <jicman@outlook.com>
Cc: Jim Garrison via Cygwin <cygwin@cygwin.com>
Subject: Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
Date: Mon, 20 Feb 2023 18:57:59 +0000	[thread overview]
Message-ID: <f5bilfw2mh4.fsf@ecclerig.inf.ed.ac.uk> (raw)
In-Reply-To: <DB9P251MB006325F99185BB6DE6FC4FD1DEA49@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM> (Jose Isaias Cabrera via Cygwin's message of "Mon\, 20 Feb 2023 18\:04\:36 +0000")

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: ht@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.


  reply	other threads:[~2023-02-20 18:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-20 18:04 Jose Isaias Cabrera
2023-02-20 18:57 ` Henry S. Thompson [this message]
2023-02-20 20:17   ` Jose Isaias Cabrera
2023-02-20 20:48     ` Henry S. Thompson
2023-02-20 21:41       ` Jose Isaias Cabrera
2023-02-20 23:13         ` Eliot Moss
2023-02-20 18:58 ` Marco Atzeri
2023-02-20 19:31   ` Jose Isaias Cabrera
2023-02-21  7:52     ` Csaba Raduly
2023-02-21 20:03       ` Jose Isaias Cabrera
2023-02-21 20:52         ` Eliot Moss
2023-02-22 15:56           ` Brian Inglis
2023-02-22 16:54 ` Brian Inglis
2023-02-22 18:06   ` Jose Isaias Cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5bilfw2mh4.fsf@ecclerig.inf.ed.ac.uk \
    --to=ht@inf.ed.ac.uk \
    --cc=cygwin@cygwin.com \
    --cc=jicman@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).