Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-22 Thread Jose Isaias Cabrera via Cygwin
On Wednesday, February 22, 2023 10:56 AM, Brian Inglis expressed: > shows 1998 - earlier than even he remembers ;^> Well, my apologies. I knew I was close. And I even thought to put 1998, but when I went to my email, I only found some for 1999. And because I like facts, thus, 1999. :-) -- Pro

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-22 Thread Brian Inglis via Cygwin
ense" for more information. import keyboard Traceback (most recent call last):   File "", line 1, in   File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 128, in     raise OSError("Unsupported platform '{}'".format(_platform.syste

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-22 Thread Brian Inglis via Cygwin
On 2023-02-21 13:52, Eliot Moss via Cygwin wrote: On 2/22/2023 7:03 AM, Jose Isaias Cabrera via Cygwin wrote: On February 21, 2023 2:52 AM, Csaba Raduly  expressed: Because you're not on Windows. You're on Cygwin, which acts as a POSIX (Unix-like) system. Wow! Thanks for that deep thought.

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-21 Thread Eliot Moss via Cygwin
On 2/22/2023 7:03 AM, Jose Isaias Cabrera via Cygwin wrote: On February 21, 2023 2:52 AM, Csaba Raduly expressed: Because you're not on Windows. You're on Cygwin, which acts as a POSIX (Unix-like) system. Wow! Thanks for that deep thought. :-) I knew that. :-) I have been using Cygwin sinc

RE: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-21 Thread Jose Isaias Cabrera via Cygwin
On February 21, 2023 2:52 AM, Csaba Raduly expressed: > Because you're not on Windows. You're on Cygwin, which acts as a POSIX > (Unix-like) system. Wow! Thanks for that deep thought. :-) I knew that. :-) I have been using Cygwin since 1999 (sometimes more than others). I just thought that by

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Csaba Raduly via Cygwin
On Mon, 20 Feb 2023 at 20:32, Jose Isaias Cabrera via Cygwin wrote: > > It says it works with Windows, why am I on my own? It should work. > Because you're not on Windows. You're on Cygwin, which acts as a POSIX (Unix-like) system. If you want Python *on Windows*, start here: https://www.python.

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Eliot Moss via Cygwin
If you will be running X (and Cygwin supports, but does not require that), then the xorg backend (meaning: not the Windows one) with pynput (note, that package has no "i" in its name) may achieve your goal. Regards - Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Jose Isaias Cabrera via Cygwin
On Monday, February 20, 2023 03:48 PM, Henry S. Thompson expressed: > Two things to try: > 1) Run python from an elevated shell (unlikely to make a difference); This was the easy part. :-) Same issue. > 2) Same strategy -- edit _nixcommon.py to always return true from > ensure_root. Now, it'

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Henry S. Thompson via 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.

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Jose Isaias Cabrera via Cygwin
On Monday, February 20, 2023 01:57 PM, Henry S. Thompson expressed: > 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 [

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Jose Isaias Cabrera via Cygwin
On Monday, February 20, 2023 01:58 PM, Marco expressed: > > Traceback (most recent call last): > >File "", line 1, in > >File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line > > 128, in > > it is your own build Well, this is not part of Cygwin Se

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Marco Atzeri via Cygwin
ot;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 in

Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Henry S. Thompson via Cygwin
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-1

OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'

2023-02-20 Thread Jose Isaias Cabrera via Cygwin
import keyboard Traceback (most recent call last):   File "", line 1, in   File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 128, in     raise OSError("Unsupported platform '{}'".format(_platform.system())) OSError: Unsupported p