发布于 4年前

Celery多种的安装方式

Celery提供了多种的安装方式:

  1. 通过pip安装
  2. 通过easy_install
  3. 直接使用源码安装

使用pip安装celery

$ pip install Celery

使用easy_install安装celery

$ easy_install Celery

直接使用源码安装

1、从pypi下载celery

2、执行以下命令安装

$ tar xvfz celery-0.0.0.tar.gz
$ cd celery-0.0.0
$ python setup.py build
# python setup.py install #使用root执行

如果要下载开发中的源码,可以到git上下载:

$ git clone git://github.com/celery/celery.git
©2020 edoou.com   京ICP备16001874号-3