使用Python3.3的芹菜错误

时间:2013-03-29 12:39:04

标签: python celery

我正在使用python3.3并安装了celery3.0.17 当我做的时候

import celery

我收到以下错误:

Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Python33\lib\site-packages\celery-3.0.17-py3.3.egg\celery\__init__.py", line 43, in <module>
    from .__compat__ import recreate_module
  File "C:\Python33\lib\site-packages\celery-3.0.17-py3.3.egg\celery\__compat__.py", line 20, in <module>
    from .local import Proxy
  File "C:\Python33\lib\site-packages\celery-3.0.17-py3.3.egg\celery\local.py", line 87, in <module>
    class Proxy(object):
ValueError: '__name__' in __slots__ conflicts with class variable

有人知道这个错误的解决方案吗?

1 个答案:

答案 0 :(得分:2)

我找到了解决方案。

这是一个解决方案的链接: https://github.com/celery/celery/issues/1107 但我会解释你必须做的事情。 你必须从github安装以下4个链接

pip install -U https://github.com/celery/py-amqp/zipball/master
pip install -U https://github.com/celery/billiard/zipball/master
pip install -U https://github.com/celery/kombu/zipball/master
pip install -U https://github.com/celery/celery/zipball/master