From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from loire.is.ed.ac.uk (loire.is.ed.ac.uk [129.215.16.10]) by sourceware.org (Postfix) with ESMTPS id 7AA653858CDB for ; Mon, 20 Feb 2023 18:58:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7AA653858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=inf.ed.ac.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=inf.ed.ac.uk Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.202.41]) by loire.is.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 31KIw097017974 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Feb 2023 18:58:00 GMT Received: from ecclerig.inf.ed.ac.uk (ecclerig.inf.ed.ac.uk [129.215.24.151]) by crunchie.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 31KIvwGf027633; Mon, 20 Feb 2023 18:57:58 GMT Received: by ecclerig.inf.ed.ac.uk (Postfix, from userid 27024) id E880212017B; Mon, 20 Feb 2023 18:57:59 +0000 (GMT) To: Jose Isaias Cabrera Cc: Jim Garrison via Cygwin Subject: Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044' References: From: "Henry S. Thompson" Date: Mon, 20 Feb 2023 18:57:59 +0000 In-Reply-To: (Jose Isaias Cabrera via Cygwin's message of "Mon\, 20 Feb 2023 18\:04\:36 +0000") Message-ID: User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at loire.is.ed.ac.uk X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Jose Isaias Cabrera via Cygwin writes: > File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 128, in > 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.