title: Python Facebook SDK: 'module' object has no attribute 'GraphAPI'
body: <p>I am trying to run a basic example with the Facebook SDK for Python. I tried doing exactly what this <a href="http://www.slideshare.net/littleq0903/introduction-to-facebook-python-api" rel="noreferrer">tutorial</a> does from the command line (with "<code>pip install facebook</code>" and "<code>pip install facebook-sdk</code>" successfully done first...):</p>
  
  <p><img src="https://i.stack.imgur.com/fnQnu.png" alt="enter image description here"></p>
  
  <p><code>import Facebook</code> works okay, but <code>graph = facebook.GraphAPI()</code> gives the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'GraphAPI'
  </code></pre>
  
  <p>I'm not imtimately familiar with how modules work, but it looks like <code>facebook</code> somehow isn't recognized at all! Or something else is missing here. From the command line, I tried these things to investigate:</p>
  
  <pre><code>&gt;&gt;&gt;dir(facebook)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>['__builtins__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__version__']
  </code></pre>
  
  <p>and...</p>
  
  <pre><code>&gt;&gt;&gt;help(facebook)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Help on package facebook:
  
  NAME
      facebook - TODO: Document your package.
  
  FILE
      /Library/Python/2.7/site-packages/Facebook-0.0-py2.7.egg/facebook/__init__.py
  
  PACKAGE CONTENTS
  
  
  DATA
      __loader__ = &lt;zipimporter object "/Library/Python/2.7/site-packages/Fa...
      __version__ = 'TODO: Enter a version'
  
  VERSION
      TODO: Enter a version
  
  (END) 
  </code></pre>
  
  <p>...But I'm still stuck. Do I need to "enter a version" to somehow get the thing to fully instantiate? Or could it be something else?</p>