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: h...@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. -- 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