title: Unable to import from gcm in flask
body: <p>I'm trying to implement and test gcm using flask on localhost. I have installed the <code>python-gcm</code> package by <code>sudo pip install python-gcm</code>, but I get an error saying </p>
  
  <blockquote>
    <p>import error : no module named gcm</p>
  </blockquote>
  
  <p>I have written the gcm code in <strong>run.py</strong>, is it correct to write it in there?
  I'm very new to flask please help..
  My <strong>run.py</strong> is as follows :</p>
  
  <pre><code>#!flask/bin/python
  from app import app
  from gcm import *
  
  gcm = GCM("My key is placed here")
  data = {'the_message': 'You have x new friends', 'param2': 'value2'}
  
  reg_id = 'registration id is placed here'
  
  gcm.plaintext_request(registration_id=reg_id, data=data)
  #app.run(debug=True)
  app.run(host='127.0.0.1') 
  </code></pre>