asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.47k stars 1.27k forks source link

[Question]About the exception error when moving the mouse #754

Open Yingli1981 opened 1 year ago

Yingli1981 commented 1 year ago

I get the following error when using the function (move) from Django's views.py.

pyautogui.FAILSAFE = False pyautogui.move(-50,-50) pyautogui.move(50,50)

class 'RuntimeError' Expected reply for request 84, but got 83. Can't happen! traceback object at 0xb07519e0

Why am I getting this error? What do I need to check?

luoyexiaohe commented 1 year ago

same problem