モジュールでスクリーンショットを撮ろうとしていpyautogui
ますが、このエラーが発生し続けます
>>> image = pyautogui.screenshot()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'pyautogui' has no attribute 'screenshot'
Is there something I'm missing? The chapter in Automate the Boring Stuff with Python said that as I'm on Windows, I shouldn't need to download anything other than pyautogui
itself for this to work. Anyone know why this might happen? Thanks in advance.
EDIT: I am using Anaconda so I already have Pillow
.