X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E866C3858439 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1676926170; bh=0lLtakqLf8TCL8nkKxaZRIxFCCXyEd+WlfJ9CqFyhzM=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=eaG5kikgld7yNof0+u2wuIODeDNVSVzOnKokcKbxwpQDMUemUYd/EKLT+osXe6OQ7 K2rO/rN54AUObP2AhFMTQh3FQ8251vQI74SGG9rLwkcQ4UztYNorkNmw10P822llp7 3xvTTXc3bD8K8rxaEZz7QVUkCylUYwS0xqPclNEU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5547B3858D20 To: Jose Isaias Cabrera Cc: Jim Garrison via Cygwin Subject: Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044' References: Date: Mon, 20 Feb 2023 20:48:50 +0000 In-Reply-To: (Jose Isaias Cabrera's message of "Mon\, 20 Feb 2023 20\:17\:17 +0000") Message-ID: User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux) MIME-Version: 1.0 X-Edinburgh-Scanned: at seine.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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Henry S. Thompson via Cygwin" Reply-To: "Henry S. Thompson" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Jose Isaias Cabrera writes: > ... > File "/usr/local/lib/python3.9/site-packages/keyboard/_nixcommon.py", line 174, in ensure_root > raise ImportError('You must be root to use this library on linux.') > ImportError: You must be root to use this library on linux. > > More work to be done. Two things to try: 1) Run python from an elevated shell (unlikely to make a difference); 2) Same strategy -- edit _nixcommon.py to always return true from ensure_root. Good luck, 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 AT inf DOT ed DOT ac DOT 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