delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/20/13:59:26

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B3C1384FB44
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1676919522;
bh=e9EU9Rzh4RHCYAmvXAVOsBuMJIB3uJ0bOP8bSd4o/oY=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=X4PZY5r29lvcNtaC0oakwB2jL7oypScFwMI5QSp0oUYYLVtIOJS8WhTZlY+5KzUAc
5vhMX9KZC+xfYm/q3cfK0YAvdioDVKsPnQ5zOvVo6mTFrY6lSgmA5UOLCiequa18Go
7NJZ7Japdw/A88A2qFu6tr+5UiPVoSOOfavTH4Ds=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 816B7384FB53
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=LheB+mlVD2JL+QP0RfQuqSKhHy6bxbEMl9TCB4D4S5s=;
b=nKnYe6SO9zbvkUKi42cuCXU5xijlMb98hPvtyySVkbPrtA6RYzwiElUkLp16+Ch6M5
ItWxBePOiYGlt4P6SgS/GT7kcU5VCWNMquvW9dFQnlI6roEz945T/NOuv5uBZn0fCQb4
amPzZwkX4b1AUwqsjTN6aMwTADrI/fxTDMLxZFA6QrQYotZwODDkypZFrhp0EEV9m4tL
jR0kft6CcCRycj54Or03M78S59DgukfXy7CHxhA7RGNxnBnyfIgQxVHU2pAatVTH4bqP
5tgLchzDAihttvj5J/QaVpeuav/auBoLUNUxjT5D0xWdc72aqtIdDsuCCMUE8ykOL2qr
+H4Q==
X-Gm-Message-State: AO0yUKVTf/n4Ad9rXyKbiYASUtYivSiDS8sy3f2gapozM5gQlAM50/2r
2im+Lpw8Gb6O82qghTa5YCXytWk6pAQ=
X-Google-Smtp-Source: AK7set86Pu318pgA4C1DeMM5DqTxAiltlSF8HWL0fe9y2ZgQbuoarxdH0zl4nd2QUXTpgPIIr54+aA==
X-Received: by 2002:adf:e505:0:b0:2c5:56ab:ee5b with SMTP id
j5-20020adfe505000000b002c556abee5bmr2109029wrm.48.1676919504058;
Mon, 20 Feb 2023 10:58:24 -0800 (PST)
Message-ID: <d488c90d-e91c-ab47-a894-0e345dc59866@gmail.com>
Date: Mon, 20 Feb 2023 19:58:23 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.2
Subject: Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
To: cygwin AT cygwin DOT com
References: <DB9P251MB006325F99185BB6DE6FC4FD1DEA49 AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
In-Reply-To: <DB9P251MB006325F99185BB6DE6FC4FD1DEA49@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 31KIx5eE004005

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





-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019