0

I am trying to get pynput working on my raspberry pi 4. I tried using the example "monitoring keyboard" script from pynput and I am getting exactly the same issue as in this post. I am using the same scripts that are used in the problem and solution sections. Python script locked by thread.

In both cases, the terminal does not recognize the key strokes - e.g. when I press 'q', nothing happens. When I cancel the script, it says

wait gotit = waiter.acquire(True,timeout)

What am I doing wrong and how can I further diagnose the issue? I don't really understand how to resolve this part of thread.

Specs:

  • Raspberry pi4 running raspberry pi OS with desktop
  • Pynput version 1.8.1
1

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.