title: Unable to properly import celery
body: <p>I am trying to run a Celery demo. It gives a import error.</p>
  
  <pre><code>     File "/home/anee/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/home/anee/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/home/anee/Documents/off-ds/t3/run_tasks.py", line 2, in &lt;module&gt;
      from t3tasks import longtime_add
    File "t3/t3tasks.py", line 3, in &lt;module&gt;
      from t3.celery import app
    File "t3/celery.py", line 3, in &lt;module&gt;
      from celery import Celery
  ImportError: cannot import name Celery
  </code></pre>
  
  <p>Here is my directory structure</p>
  
  <pre><code>t3 
      __init__.py
      celery.py
      run_tasks.py
      t3tasks.py
  </code></pre>
  
  <p>Celery file</p>
  
  <pre><code>from celery import Celery
  
  app = Celery('t3',
               broker='amqp://',
               backend='amqp://',
               include=['t3.t3tasks'])
  </code></pre>
  
  <p>Here is t3tasks.py file</p>
  
  <pre><code>from t3.celery import app
  import time
  
  @app.task
  def longtime_add(x, y):
      print('long time task begins')
      # sleep 5 seconds
      time.sleep(5)
      print('long time task finished')
      return x + y
  </code></pre>
  
  <p>Here is run_tasks.py</p>
  
  <pre><code>from t3tasks import longtime_add
  import time
  
  if __name__ == '__main__':
      result = longtime_add.delay(1,2)
      print('Task result: ', result.result)
  </code></pre>
  
  <p>After starting celery</p>
  
  <pre><code>celery -A t3 worker --loglevel=info
  </code></pre>
  
  <p>I am running the tasks like this</p>
  
  <pre><code>python -m t3.run_tasks
  </code></pre>