skip to Main Content

Ubuntu – Unable to run a python script

I'm new to python+linux and somewhat stuck. I'm using Ubuntu 22.04 LTS, created this simplistic script: import pyautogui import keyboard def on_key_event(e): if e.name == '1': pyautogui.press('h') pyautogui.press('k') keyboard.hook(on_key_event) #should keep running untill I press "Esc" keyboard.wait('esc') keyboard.unhook_all() when i'm…

VIEW QUESTION

Debian – No matching distribution found for pyyaml==6.0

Any ideas how to solve that error? Looking at the trace I can't really see what's wrong. I haven't found any related solutions using google. $ pip install pyyaml==6.0 Collecting pyyaml==6.0 Downloading PyYAML-6.0.tar.gz (124 kB) |████████████████████████████████| 124 kB 1.4 MB/s…

VIEW QUESTION
Back To Top
Search