运行django芹菜时出现分段故障

时间:2015-09-05 13:32:26

标签: python django celery

我试图运行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)

你能帮忙解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

这有助于:

删除python-librabbitmq

sudo apt-get remove python-librabbitmq

通过pip安装librabbitmq

sudo pip install librabbitmq