title: Installing Pillow for Python on Windows
body: <p>I am fairly new to Python and trying to install the Pillow package on Windows 7. I downloaded and ran the MS Windows installer Pillow-2.2.1.win-amd64-py3.3.exe from <a href="https://pypi.python.org/pypi/Pillow/2.2.1#downloads">here</a>. It appeared to install fine. If I run the simple line of code:</p>
  
  <pre><code>from PIL import Image
  </code></pre>
  
  <p>directly from the Python interpreter, it runs fine. A help() on PIL gives me the package contents. </p>
  
  <p>But when I try to run the same line of code from within a script, I get an <code>ImportError: No module named PIL</code>. What am I missing?</p>
  
  <p>(Note that I've been able to <code>import sys</code> and <code>import MySQLdb</code> from within scripts just fine.)</p>
  
  <hr>
  
  <p><strong>Resolved</strong>: sure, enough, I'm running Python 2.7 when I run scripts. (I think I vaguely recall having to install an older version so I could interface with MySQL.) Thank you all for pointing out that I should check the version being used.</p>