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 に答える