To solve ModuleNotFoundError: No module named ‘grp’ on windows error follow below methods.
ERROR LOG
File "d:\project\celery-testing\venv\lib\site-packages\celery\platforms.py", line 10, in import grp
ModuleNotFoundError: No module named 'grp'
How to solve ModuleNotFoundError: No module named ‘grp’ on windows ?
If you use the PyPi package django-celery-beat, it appears that it instals the most recent version of the required package celery rather than a compatible version which appears to have compatibility issues with both django-celery-beat version 2.2.0 (the most recent) and Windows OS.
I recommend you to try the below commands:
pip uninstall celery
pip install celery==5.0.5
Alternative to Solve ModuleNotFoundError: No module named ‘grp’ on windows
Sometimes to solve ModuleNotFoundError: No module named ‘grp’ on windows just updating the celery works. This can be fixed with celery ^5.1.1
as you can see here.
Hope the above solution works.
Also read :
Your bundle is locked to mimemagic (0.3.5) but that version could not be found in any of the sources listed in your Gemfile.
ImportError cannot import name ‘_endpoint_from_view_func’ from ‘flask.helpers’