0

我正在使用 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

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

4

1 回答 1

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
于 2013-04-04T08:32:16.413 回答