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.22k stars 1.24k forks source link

Does this module support Windows 11? #638

Open sth0404 opened 2 years ago

sth0404 commented 2 years ago

I'm trying to install Windows 11, but I'm wondering if this module supports Windows 11.

LOYIKABULAN commented 2 years ago

It works

SkeT44 commented 2 years ago

don't work on windows 11 :(

File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\pyautogui\__init__.py", line 221, in <module>
    locateOnWindow.__doc__ = pyscreeze.locateOnWindow.__doc__
AttributeError: module 'pyscreeze' has no attribute 'locateOnWindow'
JayRizzo commented 2 years ago

Hi all, this should be able to be resolved by running an update on pyscreeze.
See: https://github.com/asweigart/pyautogui/issues/598#issuecomment-1058360664

pip3 install pyscreeze -U