Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.1K
Visualizações
ModuleNotFoundError: No module named 'grp' on windows

As i was going through the Celery implementation from the Celery documentation,

celery -A tasks worker --loglevel=INFO

gave output unexpected that from the documentation,

File "d:\101_all_projects\celery-testing\venv\lib\site-packages\celery\platforms.py", line 9, in import grp ModuleNotFoundError: No module named 'grp'

Is this because i am on windows?

over 4 years ago · Hanz Gallego
3 Respostas
Responde à pergunta

0

This is fixed with celery ^5.1.1 as you can see here. You just need to update celery now

over 4 years ago · Hanz Gallego Relatório

0

If you're using the PyPi package django-celery-beat it looks like it installs the most recent version of the required package celery rather than installing a compatible version (by the time I'm posting this, 25th of May 2021 this would be v5.1.0), which seems to have compatibility issues with django-celery-beat version 2.2.0 (the most recent) as well as Windows OS.

I suggest you try

pip uninstall celery
pip install celery==5.0.5
over 4 years ago · Hanz Gallego Relatório

0

Yes, i agree with you. For me also it happens, exact same issue

when i was working on installations in a command prompt, i was mentioned as (pip install celery), it was installed recent version (5.1.0) or (pip install -r requirements.txt) mentioned in requirements.txt version

pip uninstall celery
pip install celery==5.0.5

It is working

Also, whenever you are working celery make sure youare changes in your requirements.txt as required version as mentione below after run this command (pip install -r requirements.txt)

#We need to mentioned as celery==5.0.5 in our requirement.tx

pip install -r requirements.txt
#it will also working make sure you mentioned the exact version in your reqiuirements.txt
over 4 years ago · Hanz Gallego Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda