From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from seine.is.ed.ac.uk (seine.is.ed.ac.uk [129.215.17.202]) by sourceware.org (Postfix) with ESMTPS id 5547B3858D20 for ; Mon, 20 Feb 2023 20:48:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5547B3858D20 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 seine.is.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 31KKmocL010116 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Feb 2023 20:48:50 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 31KKmnjW030517; Mon, 20 Feb 2023 20:48:49 GMT Received: by ecclerig.inf.ed.ac.uk (Postfix, from userid 27024) id 9E4AB1201E8; Mon, 20 Feb 2023 20:48:50 +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 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 Content-Type: text/plain; charset=us-ascii 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 List-Id: 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@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.