我正在尝试运行https://github.com/celery/celery/tree/3.1/examples/django
当我在做
celery -A proj worker -l info
我得到了下面的
-------------- celery@gegham-Inspiron-3542 v3.1.18 (Cipater)
---- **** -----
--- * *** * -- Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app: proj:0x7fbc67e8da50
- ** ---------- .> transport: amqp://guest:**@localhost:5672//
- ** ---------- .> results: disabled
- *** --- * --- .> concurrency: 4 (prefork)
-- ******* ----
--- ***** ----- [queues]
-------------- .> celery exchange=celery(direct) key=celery
[tasks]
. demoapp.tasks.add
. demoapp.tasks.mul
. demoapp.tasks.xsum
. proj.celery.debug_task
[2015-09-05 08:27:56,262: INFO/MainProcess] Connected to
amqp://guest:**@localhost:5672//
[2015-09-05 08:27:56,267: INFO/MainProcess] mingle: searching for neighbors
Segmentation fault (core dumped)
你能帮我解决这个问题吗
This help:
移除python-librabbitmq
:
sudo apt-get remove python-librabbitmq
通过pip安装librabbitmq
:
sudo pip install librabbitmq