celery加速爬虫 使用flower 可视化地查看celery的实时监控情况
重点:
celery ==5.4.0
python 3.11
flower ==2.0.1
请对齐celery与flower的版本信息,如果过低会导致报错
报错1:
(venv) PS D:\apploadpath\pythonPath\Lib\site-packages> celery -A tasks flower
Traceback (most recent call last):
File "D:\devlopePath\project_Spider\venv\Lib\site-packages\vine\five.py", line 361, in <module>
from inspect import formatargspec, getfullargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (D:\apploadpath\pythonPath\Lib\inspect.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File