MaxKB本地部署celery_default is stopped
MAxKB本地部署,运行main.py start时候正常,登陆就会500,后端显示celery_default is stopped
解决方法:
1、在虚拟环境中启动 Celery 服务 :
python main.py dev celery
如果输出最后有:
ModuleNotFoundError: No module named 'grpc'
说明系统中没有安装 grpcio 模块。
2、在虚拟环境中安装 grpcio 模块:
pip install grpcio
3、再次运行后端就会正常了!
python main.py start