title: class Image has no attribute 'open'
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10748822/img-image-openfp-attributeerror-class-image-has-no-attribute-open">img = Image.open(fp) AttributeError: class Image has no attribute ‘open’</a>  </p>
  </blockquote>
  
  
  
  <p>So I am trying to view pictures in python with tkinter. I installed PIL and I am trying to open a picture but I keep getting an attribute error saying "class Image has no attribute 'open'</p>
  
  <pre><code>from __future__ import division
  from PIL import Image
  from Tkinter import *
  import random
  
  img = Image.open("majestic creature.jpeg").convert("RGB")
  </code></pre>
  
  <p>This isn't all the code I have but this is the part that the program seems to have trouble with.</p>