pyautogui报错:pyautogui.FailSafeException

报错信息如下:

 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后, 添加此代码可解决

posted @ 2022-12-10 15:58  我歌且谣  阅读(3260)  评论(0)    收藏  举报