簡體   English   中英

使用Python3.3的芹菜錯誤

[英]celery error using Python3.3

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

有人知道這個錯誤的解決方案嗎?

我找到了解決方案。

這是一個解決方案的鏈接: 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM