定时调度
下载地址:https://pypi.org/project/celery/4.1.1/#files
安装4.1.1
Installed /usr/local/lib/python2.7/dist-packages/celery-4.1.1-py2.7.egg Processing dependencies for celery==4.1.1 Searching for kombu>=4.2.0,<5.0 Reading https://pypi.python.org/simple/kombu/ Best match: kombu 4.6.4 Downloading https://files.pythonhosted.org/packages/52/f2/5a64fc850b0533d2daf09a523406e51e85a8b2a4a2bc87a922a8906ba2aa/kombu-4.6.4.tar.gz#sha256=e5f0312dfb9011bebbf528ccaf118a6c2b5c3b8244451f08381fb23e7715809b
安装依赖:kombu 4.2.0 https://pypi.org/project/kombu/4.2.0/#files
---还是会提示以来一些包 不过貌似没有影响
Installed /usr/local/lib/python2.7/dist-packages/kombu-4.2.0-py2.7.egg
Processing dependencies for kombu==4.2.0
Searching for amqp>=2.1.4,<3.0
Reading https://pypi.python.org/simple/amqp/
Best match: amqp 2.5.1
Downloading https://files.pythonhosted.org/packages/b5/f5/70e364a1f5fbafc742c098ad88a064b801b0d69cf56bfad13be2c08be4e2/amqp-2.5.1.tar.gz#sha256=19a917e260178b8d410122712bac69cb3e6db010d68f6101e7307508aded5e68
Processing amqp-2.5.1.tar.gz
Writing /tmp/easy_install-V4PqO_/amqp-2.5.1/setup.cfg
Running amqp-2.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-V4PqO_/amqp-2.5.1/egg-dist-tmp-5BQAgD
warning: no files found matching '*.py' under directory 'demo'
warning: no files found matching 'README' under directory 'extra'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no previously-included files matching '.*.sw*' found under directory '*'
Adding amqp 2.5.1 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/amqp-2.5.1-py2.7.egg
Searching for vine>=1.1.3,<5.0.0a1
Reading https://pypi.python.org/simple/vine/
Best match: vine 1.3.0
Downloading https://files.pythonhosted.org/packages/1c/e1/79fb8046e607dd6c2ad05c9b8ebac9d0bd31d086a08f02699e96fc5b3046/vine-1.3.0.tar.gz#sha256=133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87
Processing vine-1.3.0.tar.gz
Writing /tmp/easy_install-Z8S9wM/vine-1.3.0/setup.cfg
Running vine-1.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Z8S9wM/vine-1.3.0/egg-dist-tmp-HKovWA
warning: no files found matching 'README' under directory 'extra'
warning: no files found matching '*.py' under directory 'extra'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no previously-included files matching '.*.sw*' found under directory '*'
Adding vine 1.3.0 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/vine-1.3.0-py2.7.egg
重新安装celery
出现新的依赖:不过也过去了
Installed /usr/local/lib/python2.7/dist-packages/celery-4.1.1-py2.7.egg
Processing dependencies for celery==4.1.1
Searching for billiard>=3.5.0.2,<3.6.0
Reading https://pypi.python.org/simple/billiard/
Best match: billiard 3.5.0.5
Downloading https://files.pythonhosted.org/packages/8b/b7/c2fe04f2522bb02d044347734eeda3ff5c7a632fa7d0401530a371ba73db/billiard-3.5.0.5.tar.gz#sha256=42d9a227401ac4fba892918bba0a0c409def5435c4b483267ebfe821afaaba0e
Processing billiard-3.5.0.5.tar.gz
Writing /tmp/easy_install-4wyvrD/billiard-3.5.0.5/setup.cfg
Running billiard-3.5.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4wyvrD/billiard-3.5.0.5/egg-dist-tmp-2pCGaZ
warning: no files found matching '*.py' under directory 'Lib'
warning: no files found matching '*.py' under directory 'funtests'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no previously-included files matching '.*.sw*' found under directory '*'
Adding billiard 3.5.0.5 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/billiard-3.5.0.5-py2.7-linux-x86_64.egg
Searching for kombu==4.2.0
Best match: kombu 4.2.0
Processing kombu-4.2.0-py2.7.egg
kombu 4.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/kombu-4.2.0-py2.7.egg
Searching for pytz==2012c
Best match: pytz 2012c
Adding pytz 2012c to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for amqp==2.5.1
Best match: amqp 2.5.1
Processing amqp-2.5.1-py2.7.egg
amqp 2.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/amqp-2.5.1-py2.7.egg
Searching for vine==1.3.0
Best match: vine 1.3.0
Processing vine-1.3.0-py2.7.egg
vine 1.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/vine-1.3.0-py2.7.egg
Finished processing dependencies for celery==4.1.1
验证:
root@9deba54adab7:/mnt/packge/celery_packge/celery-4.1.1# python Python 2.7.9 (default, Sep 25 2018, 20:42:16) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> import celery >>> exit()