原来是没有安装celery
安装celery:pip install celery
安装后报错
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(ho
st='files.pythonhosted.org', port=443): Read timed out.
发现我是window系统,只能安装3.1.25版本
pip install celery==3.1.25