title: python celery not working
body: <p>I'm new to celery and python in general and wanted to use celery to have an async task in the application.
  While I tried to see how it works, a demo app itself was not working on my local setup.
  <strong>I started rabbitmq server locally on the system with default config: user: guest, password: guest and on default port 5672.</strong></p>
  
  <p>I picked the sample code from <a href="http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html" rel="nofollow noreferrer">http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html</a></p>
  
  <pre><code>from celery import Celery
  
  app = Celery('tasks', broker='amqp://guest:guest@localhost:5672/hello')
  
  @app.task
  def add(x, y):
      return x + y
  </code></pre>
  
  <p>All these were done and are placed inside of a virtualenv. Then I am in the folder location containing the app.py file and use the command:
  <strong>celery -A tasks worker --loglevel=info</strong> to run the celery worker from the terminal.
  Getting following output after executing the command: </p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/local/bin/celery", line 11, in &lt;module&gt;
      sys.exit(main())
    File "/Library/Python/2.7/site-packages/celery/__main__.py", line 13, in main
      from celery.bin.celery import main as _main
    File "/Library/Python/2.7/site-packages/celery/bin/__init__.py", line 2, in &lt;module&gt;
      from .base import Option
    File "/Library/Python/2.7/site-packages/celery/bin/base.py", line 17, in &lt;module&gt;
      from celery import VERSION_BANNER, Celery, maybe_patch_concurrency
    File "/Library/Python/2.7/site-packages/celery/local.py", line 509, in __getattr__
      module = __import__(self._object_origins[name], None, None, [name])
    File "/Library/Python/2.7/site-packages/celery/app/__init__.py", line 5, in &lt;module&gt;
      from celery import _state
    File "/Library/Python/2.7/site-packages/celery/_state.py", line 15, in &lt;module&gt;
      from celery.utils.threads import LocalStack
    File "/Library/Python/2.7/site-packages/celery/utils/__init__.py", line 9, in &lt;module&gt;
      from .functional import memoize  # noqa
    File "/Library/Python/2.7/site-packages/celery/utils/functional.py", line 11, in &lt;module&gt;
      from kombu.utils.functional import (
  ImportError: cannot import name LRUCache
  </code></pre>
  
  <p>Dependencies used: 
  <strong>amqp 2.2.2, billiard 3.5.0.3, celery 4.1.0, kombu 4.1.0, python 3.6</strong></p>
  
  <p>Let me know the mistake and if any other details required</p>