title: Python: 'pyautogui' has no attribute 'screenshot' (Windows)
body: <p>I am trying to take a screenshot with the <code>pyautogui</code> module, but keep getting this error</p>
  
  <pre><code>&gt;&gt;&gt; image = pyautogui.screenshot()
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: module 'pyautogui' has no attribute 'screenshot'
  </code></pre>
  
  <p>Is there something I'm missing? The chapter in <a href="https://automatetheboringstuff.com/chapter18/" rel="nofollow">Automate the Boring Stuff with Python</a> said that as I'm on Windows, I shouldn't need to download anything other than <code>pyautogui</code> itself for this to work. Anyone know why this might happen? Thanks in advance.</p>
  
  <p>EDIT: I am using Anaconda so I already have <code>Pillow</code>.</p>