欢迎光临散文网 会员登陆 & 注册

pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from

2023-05-08 00:51 作者:青阳小栈  | 我要投稿

pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the scre

pyautogui.故障安全异常:鼠标移动到屏幕角落时触发pyautogui故障保护。若要禁用此故障保护,请将pyautogui.FAILSAFE设置为False。不建议禁用故障保护。

报错原因
鼠标移动到屏幕角落时触发pyautogui故障保护。

代码中加这行就可以解决了

pyautogui.FAILSAFE=False



pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from 的评论 (共 条)

分享到微博请遵守国家法律