我正在尝试运行 https://github.com/celery/celery/tree/3.1/examples/django
当我在做的时候
celery -A proj worker -l 信息
我得到以下内容
-------------- 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)
你能帮忙解决这个问题吗
最佳答案
这有帮助:
删除python-librabbitmq
:
sudo apt-get remove python-librabbitmq
通过 pip 安装librabbitmq
:
sudo pip install librabbitmq
关于python - 运行 django celery 时出现段错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32413631/