问题描述:
python导入djcelery模块报错ImportError: No module named djcelery
>>> import djcelery
ImportError: No module named djcelery
原因分析:
djcelery模块已更名为django-celery
解决方法:
在安装该模块时需使用命令
pip install django-celery
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple django-celery==3.2.2
>>> import django-celery

本文介绍了解决在Python中导入djcelery模块时出现的ImportError问题,原因是该模块已更名为django-celery。文章提供了正确的安装命令,帮助开发者避免此错误。
3万+

被折叠的 条评论
为什么被折叠?



