The script control_mouse.py is suggested to be run on an interactive python shell, such as ipython, jupyter lab, etc. Install requirements: