python - 运行 django celery 时出现段错误

标签 python django celery

我正在尝试运行 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/

相关文章:

rabbitmq - 从一个 Docker 容器连接到另一个

python - celery worker 失踪

python - SQLAlchemy 连接表并在每一行中插入新字段

python - 无法通过 ldap3 模块修改 'cn' 属性,Python 3.x

python - lambdaify 包含 UndefinedFunction 的 Derivative 的 sympy 表达式

python - 如何手动使用 make_password 和 check_password?

python - Django Many2many 是另一个集合的子集

python - Graphite 烯和 Django 的关系

python - 我可以使用 Tornado+Celery+RabbitMQ+Redis 吗?

python - conda创建环境py3.7,只安装jupyter,但发现冲突