title: trouble setting up credentials in Spotipy
body: <p>I'm trying to run some simple code from the Spotipy docs:</p>
  
  <pre><code>scope = 'user-library-read'
  
  if len(sys.argv) &gt; 1:
      username = sys.argv[1]
  else:
      print ("Usage: %s username" % (sys.argv[0],))
      sys.exit()
  
  token = util.prompt_for_user_token(username, scope)
  </code></pre>
  
  <p>I've already tried to set up my credentials in my terminal (Ubuntu) by running:</p>
  
  <p><code>$ export SPOTIPY_CLIENT_ID='[my id]'</code></p>
  
  <p><code>$ export SPOTIPY_CLIENT_SECRET='[my secret]'</code></p>
  
  <p><code>$ export SPOTIPY_REDIRECT_URI='localhost:8888/callback'</code></p>
  
  <p>Still, I get this:</p>
  
  <pre><code>  You need to set your Spotify API credentials. You can do this by
              setting environment variables like so:
  
              export SPOTIPY_CLIENT_ID='your-spotify-client-id'
              export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
              export SPOTIPY_REDIRECT_URI='your-app-redirect-url'
  
              Get your credentials at     
                  https://developer.spotify.com/my-applications
  
  ---------------------------------------------------------------------------
  SpotifyException                          Traceback (most recent call last)
  &lt;ipython-input-13-e24370a9caf8&gt; in &lt;module&gt;()
        7     sys.exit()
        8 
  ----&gt; 9 token = util.prompt_for_user_token(username, scope)
  
  /home/user/anaconda3/envs/Python3/lib/python3.6/site-packages/spotipy/util.py in prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)
       45                 https://developer.spotify.com/my-applications
       46         ''')
  ---&gt; 47         raise spotipy.SpotifyException(550, -1, 'no credentials set')
       48 
       49     sp_oauth = oauth2.SpotifyOAuth(client_id, client_secret, redirect_uri, 
  
  SpotifyException: http status: 550, code:-1 - no credentials set
  </code></pre>
  
  <p>What am I doing wrong? I haven't been able to find a clean rundown of how to fix this anywhere.</p>
  
  <p>Thanks in advance for any help.</p>