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

file is missing, has improper permissions, or is an unsupported or invalid format #763

Open sunghak93 opened 1 year ago

sunghak93 commented 1 year ago

For me this problem is occured because my PC's user name is Korean so pyautogui.locateOnScreen() method can't find in screenshot in temp folder. (I think this problem is ) I can handle parameter image's path but I can't handle screenShot path in Temp... How can I solve this problem?