title: Python 'keyboard' module working as non-root but not working in sudo (linux)
body: <p>When I import keyboard module as non-root, it imports fine but when I run python with sudo, it does not work.</p>
  <p><a href="https://i.stack.imgur.com/ZSfFu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZSfFu.png" alt="enter image description here" /></a></p>
  <p>Can someone help me solve this strange error</p>