• python 安装celery


    1. pip install celery
    
    node2:/usr/local/python27/bin#pip install celery
    Requirement already satisfied: celery in /usr/local/python27/lib/python2.7/site-packages
    Requirement already satisfied: kombu<3.1,>=3.0.37 in /usr/local/python27/lib/python2.7/site-packages (from celery)
    Requirement already satisfied: pytz>dev in /usr/local/python27/lib/python2.7/site-packages (from celery)
    Requirement already satisfied: billiard<3.4,>=3.3.0.23 in /usr/local/python27/lib/python2.7/site-packages (from celery)
    Requirement already satisfied: amqp<2.0,>=1.4.9 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery)
    Requirement already satisfied: anyjson>=0.3.3 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery)
    
    2.
    
    node2:/usr/local/python27/bin#pip install celery-with-redis
    
    Requirement already satisfied: celery-with-redis in /usr/local/python27/lib/python2.7/site-packages
    Requirement already satisfied: celery<4.0,>=3.0 in /usr/local/python27/lib/python2.7/site-packages (from celery-with-redis)
    Requirement already satisfied: redis>=2.4.4 in /usr/local/python27/lib/python2.7/site-packages (from celery-with-redis)
    Requirement already satisfied: kombu<3.1,>=3.0.37 in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.0->celery-with-redis)
    Requirement already satisfied: pytz>dev in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.0->celery-with-redis)
    Requirement already satisfied: billiard<3.4,>=3.3.0.23 in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.0->celery-with-redis)
    Requirement already satisfied: amqp<2.0,>=1.4.9 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery<4.0,>=3.0->celery-with-redis)
    Requirement already satisfied: anyjson>=0.3.3 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery<4.0,>=3.0->celery-with-redis)
    node2:/usr/local/python27/bin#
    
    
    3.node2:/usr/local/python27/bin#pip install django-celery
    Requirement already satisfied: django-celery in /usr/local/python27/lib/python2.7/site-packages
    Requirement already satisfied: celery<4.0,>=3.1.15 in /usr/local/python27/lib/python2.7/site-packages (from django-celery)
    Requirement already satisfied: django>=1.8 in /usr/local/python27/lib/python2.7/site-packages (from django-celery)
    Requirement already satisfied: kombu<3.1,>=3.0.37 in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.1.15->django-celery)
    Requirement already satisfied: pytz>dev in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.1.15->django-celery)
    Requirement already satisfied: billiard<3.4,>=3.3.0.23 in /usr/local/python27/lib/python2.7/site-packages (from celery<4.0,>=3.1.15->django-celery)
    Requirement already satisfied: amqp<2.0,>=1.4.9 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery<4.0,>=3.1.15->django-celery)
    Requirement already satisfied: anyjson>=0.3.3 in /usr/local/python27/lib/python2.7/site-packages (from kombu<3.1,>=3.0.37->celery<4.0,>=3.1.15->django-celery)

  • 相关阅读:
    tomcat 虚拟目录
    linux 基本常用命令
    linux shell
    分布式锁
    多线程 ThreadLocal
    Java并发包中Lock的实现原理
    spring 异常处理
    spring Cache /Redis 缓存 + Spring 的集成示例
    spring 事务传播行为
    Vue.nextTick浅析
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349392.html
Copyright © 2020-2023  润新知