title: Problems with pyspotify
body: <p>I have a problem in my attempt to make my first spotify app. I'm on a raspberry pi, running Arch. </p>
  
  <p>I have my <code>__main__.py</code> and my <code>spotify_appkey.key</code> in a directory and i run it by <code>[root@RPI]# python2 __main__.py</code></p>
  
  <p>The code in <code>__main__.py</code> looks like this:</p>
  
  <pre><code>import spotify
  print "1"
  session = spotify.Session()
  print "2"
  try:
      session.login('myUsername', 'myPassword')
      print "3"
  except IOError as e:
      print "error({0}): {1}".format(e.errno, e.strerror)
  </code></pre>
  
  <p>This gives me this output:</p>
  
  <pre><code>1
  2
  Segmentation fault (core dumped)
  </code></pre>
  
  <p>Reading on this <a href="http://pyspotify.mopidy.com/en/latest/quickstart/#creating-a-session" rel="nofollow">link</a>, I've tried this as well:</p>
  
  <pre><code>import spotify
  print "1"
  session = spotify.Session()
  print "2"
  config = spotify.Config()
  print "3"
  try:
      session.login('myUsername', 'myPassword')
      print "4"
  except IOError as e:
      print "error({0}): {1}".format(e.errno, e.strerror)
  </code></pre>
  
  <p>which gives me this:</p>
  
  <pre><code>1
  2
  Traceback ..... yada yada ...
      File "__main__.py" ... yada yada...
          config = spotify.Config()
  AttributeError: 'module' object has no attribute 'Config'
  </code></pre>
  
  <p>What am I doing wrong?</p>