首页 > 其他分享 >pyautogui报错:pyautogui.FailSafeException

pyautogui报错:pyautogui.FailSafeException

时间:2022-12-10 16:13:43浏览次数:51  
标签:pyautogui FAILSAFE safe 报错 FailSafeException fail

报错信息如下:

 pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED.

解决: pyautogui.FAILSAFE=False  #引入pyautogui后, 添加此代码可解决

标签:pyautogui,FAILSAFE,safe,报错,FailSafeException,fail
From: https://www.cnblogs.com/wgqy/p/16971740.html

相关文章